dpjjr42626 2017-06-07 05:16
浏览 548
已采纳

如何关闭golang的所有vim设置?

How could I turn off syntax highlighting in vim, but only for Go?

I've seen a few posts about just turning off the red-highlighting for white space but that's not quite what I'm looking for.

  • 写回答

2条回答 默认 最新

  • dsnw2651 2017-06-07 13:49
    关注

    Add the following line to your vimrc file:

    autocmd FileType go setlocal syntax=OFF
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?