From 7e7aa928072775240ff70ca61f2dd0e8a09242d8 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sun, 2 Feb 2014 20:35:42 +0100 Subject: (Let's pretend that this is the) initial commit --- vim/after/syntax/c.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 vim/after/syntax/c.vim (limited to 'vim/after') diff --git a/vim/after/syntax/c.vim b/vim/after/syntax/c.vim new file mode 100644 index 0000000..0f796e3 --- /dev/null +++ b/vim/after/syntax/c.vim @@ -0,0 +1,13 @@ +" Highlight Class and 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\+\%#\@