@@ -7,7 +7,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cpp-modern') ==
77" http://www.vim.org/scripts/script.php?script_id=3064
88" Maintainer: bfrg <[email protected] >99" Website: https://github.com/bfrg/vim-cpp-modern
10- " Last Change: Mar 14 , 2020
10+ " Last Change: Oct 4 , 2020
1111"
1212" Extended C syntax highlighting including highlighting of user-defined
1313" functions.
@@ -17,7 +17,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cpp-modern') ==
1717" ==============================================================================
1818
1919
20- " Highlight some additional keywords in the comments
20+ " Highlight additional keywords in the comments
2121syn keyword cTodo contained BUG NOTE
2222
2323
@@ -50,25 +50,4 @@ if get(g:, 'cpp_simple_highlight', 0)
5050 hi link cLabel Statement
5151endif
5252
53-
54- " Operators
55- " syn match cOperator "\(<<\|>>\|[-+*/%&^|<>!=]\)="
56- " syn match cOperator "<<\|>>\|&&\|||\|++\|--\|->"
57- " syn match cOperator "[.!~*&%<>^|=,+-]"
58- " syn match cOperator "/[^/*=]"me=e-1
59- " syn match cOperator "/$"
60- " syn match cOperator "&&\|||"
61- " syn match cOperator "[][]"
62-
63- " Preprocessor
64- " syn keyword cDefined defined contained containedin=cDefine
65- " hi def link cDefined cDefine
66-
67- " Delimiters
68- " syn match cDelimiter "[();\\]"
69- " hi def link cDelimiter Delimiter
70- " foldmethod=syntax fix, courtesy of Ivan Freitas
71- " syn match cBraces display "[{}]"
72- " hi def link cBraces Delimiter
73-
7453endif
0 commit comments