linux - 配置vim高亮语法是有问题?
ringa_lee
ringa_lee 2017-04-17 16:32:55
0
1
720

我在~/.vimrc中添加了syntax on之后却发现报错,然后并不会显示语法高亮
.vimrc中的代码是这样写的
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()

syntax on
set number

set autoindent
set cindent

set tabstop=4
set softtabstop=4
set shiftwidth=4

set expandtab

set cino=g0,:0

ringa_lee
ringa_lee

ringa_lee

reply all(1)
黄舟

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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template