Я пытаюсь установить плагин Neovim для floobits (https://floobits.com/help/plugins/nvim), а после установки :PluginInstall
в Vim я получаю ошибку в заголовке. Кто-нибудь может сказать мне, что я делаю не так? Вот мой ~/.vimrc
файл.
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'floobits/floobits-neovim'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
...
...
...
(The rest of the file is the same as here
https://github.com/amix/vimrc/blob/master/vimrcs/basic.vim
with the adition of the lines below at the end)
" Configura arquivos html e javascript para identacao com 2 espacos
autocmd FileType htmldjango setlocal sw=2 sts=2 et
autocmd FileType javascript setlocal sw=2 sts=2 et
" Configura linebreak automatico ao digitar a mensagem de commit
autocmd FileType gitcommit set tw=72 colorcolumn=72
" Desenha linha vertical vermelha em 110 caracteres para indicar limite
autocmd FileType python setlocal textwidth=109 colorcolumn=110
" Configura para mostrar o número das linhas
set number
" Permite circular pelas abas do vim usando Ctrl+Esquerda e Ctrl+Direita
nnoremap <C-Left> :tabprevious<CR>
nnoremap <C-Right> :tabnext<CR>
" Aplicar PEP8 automaticamente a cada save dos arquivos python
" 1) Instalar vim-pathogen (https://github.com/tpope/vim-pathogen - Aprox um package manager do vim):
" mkdir -p ~/.vim/autoload ~/.vim/bundle && \
" curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
" 2) Instalar vim-flake8 dentro de ~/.vim/bundle (https://github.com/nvie/vim-flake8)
" cd ~/.vim/bundle && \
" git clone https://github.com/nvie/vim-flake8.git
" 3) pip install flake8
execute pathogen#infect()
autocmd BufWritePost *.py call Flake8()
Я сделал символическую ссылку с ~/.vimrc
на ~/.config/nvim/init.vim
, согласно https://github.com/neovim/neovim/wiki/FAQ#where-should-i-put-my-config-vimrc, вы можете просто создать символическую ссылку из вашего текущего .vimrc на этот путь.
Я также использовал pathogen в качестве диспетчера пакетов vim до использования Vundle и уже запускал
pip install neovim
pip3 install neovim
pip install neovim
pip3 install neovim
2 раза: один для виртуального окружения python, другой глобально и для python 2 и 3.
:CheckHealth
? - person fwalch   schedule 03.10.2017nvim
вместоvim
. Тем не менее, все равно получаю это сообщение об ошибке каждый раз, когда я фиксирую или перебазирую. Я, вероятно, смогу избавиться от этого, настроив git на использование nvim вместо vim. - person Vini.g.fer   schedule 03.11.2017