Open cjohn-afk opened 6 years ago
I'm facing the same problem (#63) but in your case the $VIMRUNTIME/syntax/cpp.vim
is not being loaded.
I also had this issue after my system upgraded to vim 8.1. I also use the autosess plugin, and I found that after deleting the autosess files that the issue resolved itself.
Add in line 60 syn keyword cppStructure class typename template namespace
Add in line 60 syn keyword cppStructure class typename template namespace
What does it do? Skip loading the rest??
Add in line 60 syn keyword cppStructure class typename template namespace
What does it do? Skip loading the rest??
Seems to define the highlight group
add in line 60
syntax keyword cppStructure contained "class" "struct" "namespace"
or
if !exists("cppStructure")
syntax keyword cppStructure contained "class" "struct" "namespace"
endif
better
-------- 原始邮件 --------发件人: summer @.>日期: 2023年3月7日周二 08:43收件人: octol/vim-cpp-enhanced-highlight @.>抄送: Subscribed @.***>主 题: Re: [octol/vim-cpp-enhanced-highlight] E28: No such highlight group name: cppStructure (#64) or if !exists("cppStructure") syntax keyword cppStructure contained "class" "struct" "namespace" endif better
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>
I have this error every time I try to open a cpp file.
.vimrc
:scriptnames