aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-11-25 05:14:06 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-11-25 05:14:06 +0100
commit36e9acea42b35f62d77eb05ee987a468c6fa87d4 (patch)
tree2a7cbda9d8379f7d746372b81ddcfdec317a890e
parent2f490cbb02d0dafddf7d8c36081b1e8139437574 (diff)
downloaddotfiles-36e9acea42b35f62d77eb05ee987a468c6fa87d4.tar.xz
nvim/after/syntax/c: Drop unnecesary lines
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--nvim/after/syntax/c.vim10
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()