Cleanup C/C++ syntax files

This commit is contained in:
2016-12-29 20:55:47 +00:00
parent a8a1666ff0
commit 3651e021a5
2 changed files with 6 additions and 14 deletions

View File

@@ -1,12 +1,10 @@
" Language: C
" Description: Additional C syntax file.
" Author: Kenneth Benzie (Benie) <k.benzie83@gmail.com>
" Last Modified: September 04, 2016
if !exists('c_no_function')
" Match function expressions: expr()
" ^^^^
syn match cFunction '\a\w*\ze\s*(' display
syn match cFunction '\h\w*\ze\s*(' display
hi default link cFunction Function
endif
@@ -52,7 +50,7 @@ if exists('g:c_doxygen') && g:c_doxygen
" Match: `markdown monospace`
" ^^^^^^^^^^^^^^^^^^^^
syn region cDoxygenSpecial start='`' end='`' contained contains=@NoSpell,cDoxygenLeader display
syn region cDoxygenSpecial start='`' end='`' contained contains=@NoSpell,cDoxygenLeader
" Match: @brief Description. @return Description.
" ^^^^^^^^^^^^ ^^^^^^^^^^^^