We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc7019b commit c7362bfCopy full SHA for c7362bf
after/syntax/c.vim
@@ -4,7 +4,7 @@
4
" Original Author: Mikhail Wolfson <mywolfson@gmail.com>
5
" Maintainer: bfrg <https://github.com/bfrg>
6
" Website: https://github.com/bfrg/vim-cpp-modern
7
-" Last Change: Jul 24, 2021
+" Last Change: Dec 30, 2023
8
"
9
" This syntax file is based on:
10
" https://github.com/octol/vim-cpp-enhanced-highlight
@@ -17,7 +17,7 @@ syn keyword cTodo contained BUG NOTE
17
18
" Highlight function names
19
if get(g:, 'cpp_function_highlight', 1)
20
- syn match cUserFunction "\<\h\w*\>\(\s\|\n\)*("me=e-1contains=cParen,cCppParen
+ syn match cUserFunction "\<\h\w*\ze\_s\{-}(\%(\*\h\w*)\_s\{-}(\)\@!"
21
hi def link cUserFunction Function
22
endif
23
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments