I installed neovim v0.2.2 via homebrew:
$ brew install neovim
$ alias n="nvim -u $XDG_CONFIG_HOME/nvim/init.vim"
Then, neovim causes many errors, so I cannot use it.
- First, when I open a file, say
n foo.rb, the filetype is not detected::set ft?givesfiletype=. - Second, I tried
:CheckHealth, but it is saidNot an editor command: CheckHealth. I also tried:checkhealth, givingInvalid 'runtimepath'. So I checked:set rtp?, but it seems to be right. - Third, when I entered insert mode, deoplete raised an error
Unknown function js_encode. - Finally, I could not copy texts to clipboard
"+y.
I think there must be more errors I have not found.
I checked :set rtp?, but it is OK. And all key mappings [nvics][nore]map work correctly, so init.vim is certainly loaded.
These errors occur only after updating neovim from v0.2.0 to v0.2.2. They do not occur when I used v0.2.0.
Environments:
- mac OS 10.12.6
- neovim v0.2.2
$XDG_CONFIG_HOME? - romainl$XDG_CONFIG_HOMEis set to be~/.config, andinit.vimis in$XDG_CONFIG_HOME/nvim. - naughie