これから Vimmer に成ろうとしている新社会人です。
初めての投稿なので、簡単な内容で備忘録も兼ねてます
概要
日時 2016/12/20
neovim が流行っているみたいだと、
$ yum install -y neovim
と特に調べずインストールしてしまったためはまった。
終わってみると、極めて簡単なエラーだが、
なかなかクリティカルなページが発見できず焦った。
エラー内容
neovim で
: ConqueGDB
とすると、以下のエラーが表示され、GDBが起動しない。
=============
Conque ERROR: Python interface cannot be loaded
Your version of Vim appears to be installed without the Python
interface.
You are using a Unix-like operating system. Most, if not all, of the
popular
Linux package managers have Python-enabled Vim available. For example
vim-gnome or vim-gtk on Ubuntu will get you everything you need.
If you are compiling Vim from source, make sure you use the --enable-
pythoninterp
configure option. You will also need to install Python and the Python
headers.
If you are using OS X, MacVim will give you Python support by default.
対処法
python3 が必要だった
$ yum install -y python3
$ which python3 # /mypath/python3
.vimrc (or init.vim) に以下を追加
let g:python3_host_prog = expand('$HOME') . '/mypath/python3'
最後に以下を実行
$ pip install neovim