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

我在~/.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

répondre à tous(1)
黄舟

你截图里的报错信息是.vimrc文件第5行有错误,你第5行为syntax onset number,应改为两句

syntax on
set number
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!