summaryrefslogtreecommitdiffstats
path: root/after
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-07-28 17:54:35 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2021-07-28 17:54:35 +0200
commitce31cd1d2f4e8eee9fd91325e4599f15cb9566fd (patch)
tree2306b79bdae6846233214734753be86ca6a13d7f /after
parent554a6ac7575f87b5b85d1b2bf60e7071c4164cbc (diff)
downloadvim-polyglot-ce31cd1d2f4e8eee9fd91325e4599f15cb9566fd.tar.gz
vim-polyglot-ce31cd1d2f4e8eee9fd91325e4599f15cb9566fd.zip
Update
Diffstat (limited to 'after')
-rw-r--r--after/syntax/c.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/after/syntax/c.vim b/after/syntax/c.vim
index a5daa792..0196b3d4 100644
--- a/after/syntax/c.vim
+++ b/after/syntax/c.vim
@@ -8,7 +8,7 @@ endif
" Original Author: Mikhail Wolfson <mywolfson@gmail.com>
" Maintainer: bfrg <https://github.com/bfrg>
" Website: https://github.com/bfrg/vim-cpp-modern
-" Last Change: Nov 23, 2020
+" Last Change: Jul 24, 2021
"
" This syntax file is based on:
" https://github.com/octol/vim-cpp-enhanced-highlight
@@ -20,7 +20,7 @@ syn keyword cTodo contained BUG NOTE
" Highlight function names
-if !get(g:, 'cpp_no_function_highlight', 0)
+if get(g:, 'cpp_function_highlight', 1)
syn match cUserFunction "\<\h\w*\>\(\s\|\n\)*("me=e-1 contains=cParen,cCppParen
hi def link cUserFunction Function
endif