Ubuntu 20.04 can be used directly when installing neovimsudo apt-get install neovim
, the older version will be installed, but the old version of neovim cannot be configured with Lua. Therefore, the newer version needs to be installed.
reference resourceshttps://github.com/neovim/neo…
If you want to install the stable version, run:
sudo add-apt-repository ppa:neovim-ppa/stable
If you want to install the unstable version, run:
sudo add-apt-repository ppa:neovim-ppa/unstable
Then update the apt source and install it
sudo apt-get update
sudo apt-get install neovim
Check the neovim version number to make sure the installed version is correct
❯ nvim --version
NVIM v0.6.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by [email protected]
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info