Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我怎么能告诉 VIM 以与and@throws类似的方式突出显示该语句?@param@return
@throws
@param
@return
您可以使用SyntaxAttr.vim - 显示字符插件的语法高亮属性来确定该@throws部分的语法组。
然后,您可以通过将以下内容放入您的中来更改默认关联(例如,它是phpThrows并且它链接到) :Statement~/.vimrc
phpThrows
Statement
~/.vimrc
:hi link phpThrows Comment