我在MacOS终端上遇到了vim的问题。这是我终端调色板的屏幕截图:
下面是一个在vim中打开的文件的示例
我的.vimrc如下:
syntax on
set noswapfile
set tabstop=2
set shiftwidth=2
set expandtab
set autoindent
set fileformat=unix
set number
set relativenumber
set noerrorbells
set encoding=utf-8
set wildmenu
set smartcase
set ruler
set incsearch
我最近在Vim中激活了自动完成和语法颜色。但是,出现了红色突出显示颜色。
我试图用syntax off禁用语法颜色,但这个突出显示的颜色仍然存在。
这是我的~/.vimrc
syntax on
set nocompatible " be iMproved, required
filetype on " required
" set the runtime path to include Vundle and initialize
se