Neovim configuration that uses lua
as much as possible
- Using packer instead of as package manager
- Tree Sitter syntax highlighting
- Pre-configured for various programming languages and documents
- Java
- Python
- JavaScript
- Typescript
- HTML
- CSS
- JSON
- Markdown
- Tabnine completion with coc.nvim (intelligent auto completion)
- Read more about why neovim chose lua
- I'm using built-in LSP for Python and coc.nvim for all the other languages
- Not everything is in
lua
but I'm doing my best to findlua
alternatives
- Update cache
sudo apt update
- Install following packages
sudo apt install git curl gcc python3-pip luarocks
-
Download and install latest version of
node
andnpm
from node js download (Make surenode
andnpm
is accessible from the command line) -
Install following languages packages
pip install --user neovim
- Download and install nerd font patched font from nerdfonts.com
- Install Neovim (Please refer Neovim installation guide for more information)
- Backup existing
nvim
configuration if you have one
mv ~/.config/nvim ~/.config/nvim-bak
- Clone my configuration
git clone --recurse-submodules -j8 https://github.com/s1n7ax/dotnvim.git ~/.config/nvim
- Run
nvim
and install plugins
:PackerInstall
:PackerCompile
- Now, close and fire up
nvim
again. Everything should work now