如何在vim中为自定义语言配置语法突出显示?


Answers:


7

您可以编写自己的语法文件并将其放入~/.vim/syntax/*.vim

:help syntax是一个好的开始。另请参阅现有的语法文件/usr/share/vim

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.