Vim Syntax Highlighting does not work

后端 未结 9 773
别那么骄傲
别那么骄傲 2021-01-31 14:45

I\'ve installed a fresh Arch Linux system on my laptop and downloaded the vim package.

I haven\'t altered the .vimrc file, but the syntax highlighting doesn\'t seem to w

9条回答
  •  天涯浪人
    2021-01-31 15:19

    Type

    :syntax on
    

    to get it to work. It is not a default option for vim. Probably in the other systems, it was set to on in the system default vimrc

    Or put

    syntax on
    

    in ~/.vimrc

提交回复
热议问题