Enable syntax highlighting for various filetypes in vim

前端 未结 4 584
自闭症患者
自闭症患者 2020-12-08 15:09

I can enable syntax highlighting for a file that has an extension that is unknown to vim by doing the following

set syntax=c

Eve

4条回答
  •  温柔的废话
    2020-12-08 15:36

    You can set it in the vim config file:

    http://beerpla.net/2008/04/02/how-to-add-a-vim-file-extension-to-syntax-highlighting/

提交回复
热议问题