My Minimal Neovim Setup
I use Neovim's builtin LSP setting up language servers and features such as:
- Go to definition
- (auto)completion
- Code Actions (automatic formatting when saved, organize imports, ...)
- Fixing autofixables
- Show method signatures
- Show/go to references/go to implementation
- Snippets
packer.nvim for plugin/package management
For listing features above I use telescope.nvim
For file explorer NvimTree
Colorscheme is nordfox.nvim with some customization
To install language sarvers LspInstall
Using specific servers for formatters, linters, errors, and code actions null-ls.nvim and more..
⚠️ Check keymaps.lua and dannzi.lua to see all shortcuts
Languages with settings and ready to use:
-
Javascript/Typescript (React)
-
Python
-
Go
-
Lua
Setup
Before you install anything don't forget to backup your old config!
mv ~/.config/nvim ~/.config/nvimbackup
Clone repo to ~/.config/nvim/
folder
git clone https://github.com/deniserdogan/dotfiles ~/.config/nvim
nvim +PackerSync
Some Features & Screenshots
Autocompletion, snippets and show docs
To view docs in normal mode bring cursor to called function and hit "K"