我在~/.vimrc中添加了syntax on之后却发现报错,然后并不会显示语法高亮.vimrc中的代码是这样写的filetype offset rtp+=~/.vim/bundle/vundle/call vundle#rc()
syntax onset number
set autoindentset cindent
set tabstop=4set softtabstop=4set shiftwidth=4
set expandtab
set cino=g0,:0
ringa_lee
The error message in your screenshot is that there is an error in the 5th line of the .vimrc file. Your 5th line syntax onset number should be changed to two sentences
syntax on set number
The error message in your screenshot is that there is an error in the 5th line of the .vimrc file. Your 5th line
syntax onset number
should be changed to two sentences