diff options
Diffstat (limited to 'nvim/after/syntax')
-rw-r--r-- | nvim/after/syntax/c.vim | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/nvim/after/syntax/c.vim b/nvim/after/syntax/c.vim index 0f796e3..e9a795c 100644 --- a/nvim/after/syntax/c.vim +++ b/nvim/after/syntax/c.vim @@ -1,13 +1,5 @@ -" Highlight Class and Function names +" Highlight Function names syn match cCustomParen "(" contains=cParen syn match cCustomFunc "\w\+\s*(" contains=cCustomParen hi def link cCustomFunc Function -hi def cCustomFunc gui=bold guifg=yellowgreen - -highlight ExtraWhitespace ctermbg=red guibg=red -match ExtraWhitespace /\s\+$/ -autocmd BufWinEnter * match ExtraWhitespace /\s\+$/ -autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/ -autocmd InsertLeave * match ExtraWhitespace /\s\+$/ -autocmd BufWinLeave * call clearmatches() |