Что-то отсутствующее с Vim

Я плохо знаком с Vim. Когда я выполняю его от терминала, я получаю ошибку:

Error detected while processing /home/Rob/.vimrc:
line   28:
E492: Not an editor command: Plugin 'vim-pandoc/vim-rmarkdown'
vim-llp: python required

Это все еще, кажется, работает, но я действительно не делаю очень с ним, таким образом, я уверен, что еще просто не сталкиваюсь с ошибкой. Что я должен зафиксировать и как?

$ cat ~/.vimrc
" REQUIRED. This makes vim invoke Latex-Suite when you open a tex file.
filetype plugin on

" IMPORTANT: win32 users will need to have 'shellslash' set so that latex
" can be called correctly.
set shellslash

" OPTIONAL: This enables automatic indentation as you type.
filetype indent on

" OPTIONAL: Starting with Vim 7, the filetype of empty .tex files defaults to
" 'plaintex' instead of 'tex', which results in vim-latex not being loaded.
" The following changes the default filetype back to 'tex':
let g:tex_flavor='latex'

" this is mostly a matter of taste. but LaTeX looks good with just a bit
" of indentation.
set sw=2
" TIP: if you write your \label's as \label{fig:something}, then if you
" type in \ref{fig: and press <C-n> you will automatically cycle through
" all the figure labels. Very useful!
set iskeyword+=:

execute pathogen#infect()
syntax on
filetype plugin indent on

Plugin 'vim-pandoc/vim-rmarkdown'```
0
задан 8 March 2020 в 09:43

1 ответ

Похож на незаконную строку, последняя строка в файле (строка 28):

Plugin 'vim-pandoc/vim-rmarkdown'

Я предполагаю, что Вы использовали один из vim сменные менеджеры для устанавливания плагина и сменных файлов установлены, где они должны быть. В противном случае, как Вы устанавливали его? Что еще более важно, говорится в сообщении об ошибке python required. Вам устанавливали Python? Попробуйте:

apt search --names-only python

0
ответ дан 8 March 2020 в 23:45

Другие вопросы по тегам:

Похожие вопросы: