我已经确保启用了syntax on
,并且我可以看到vim从全灰色(无高亮显示)变为彩色版本,其中有一些基本语法高亮显示。因此,默认语法高亮显示可以工作
之后,我将https://github.com/sheerun/vim-polyglot
插件安装到我的vim编辑器中。我的~/.vimrc
文件的内容是这样读取的:
...
if has("syntax")
syntax on
endif
...
call plug#begin('~/.vim/plugged')
Plug 'https://github.com/preservim/nerdtree.git'
Plug 'https://github.com/sheerun/vim-polyglot.git'
call plug#end()
...
在这之后,我没有看到任何变化。我仍然看到这个非常基本的语法高亮显示,但与我之前看到的没有任何不同。如何让polyglot覆盖这个非常基本的语法高亮显示
目前没有回答
相关问题 更多 >
编程相关推荐