我使用 gnuplot 来显示数据,并且通常在 vim 中编辑文件。如果可能的话,我希望有某种语法突出显示。我尝试使用 gnuplot 的 vim 插件安装几个插件,但似乎无法使其工作。这是我的文件的内容.vimrc:
call plug#begin()
Plug 'tpope/vim-sensible'
Plug 'flazz/vim-colorschemes'
Plug 'junegunn/seoul256.vim'
Plug 'junegunn/vim-easy-align'
Plug 'vim-scripts/gnuplot.vim'
call plug#end()
if has("syntax")
syntax on
endif
let mapleader=","
set cindent
set statusline+=col:\ %c,
set ruler
set nu
set showcmd
set nocompatible
set nosol
set background=dark
set autoread
set wildmenu
set lazyredraw
set magic
set showmatch
set mat=10
set noerrorbells
set novisualbell
set autoindent
set smartindent
set cursorline
set ic
set hls
set lbr
set shiftwidth=4
set …Run Code Online (Sandbox Code Playgroud)