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.
2 parents 108183a + 5882c85 commit 7c33c6cCopy full SHA for 7c33c6c
after/syntax/c.vim
@@ -25,6 +25,19 @@ if !get(g:, 'cpp_no_function_highlight', 0)
25
hi def link cUserFunction Function
26
endif
27
28
+" Highlight member variables and functions.
29
+if get(g:, 'cpp_member_highlight', 0)
30
+ syn match cMemberAccess "\.\|->" nextgroup=cStructMember,cppTemplateKeyword
31
+ syn match cStructMember "\<\h\w*\>\%((\|<\)\@!" contained
32
+ syn cluster cParenGroup add=cStructMember
33
+ syn cluster cPreProcGroup add=cStructMember
34
+ hi def link cStructMember Identifier
35
+
36
+ if &filetype ==# 'cpp'
37
+ syn keyword cppTemplateKeyword template
38
+ hi def link cppTemplateKeyword cppStructure
39
+ endif
40
+endif
41
42
" Common ANSI-standard Names
43
syn keyword cAnsiName
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments