No description
| after/ftplugin | ||
| ftplugin | ||
| lsp | ||
| lua | ||
| .gitignore | ||
| init.lua | ||
| lazy-lock.json | ||
| README.md | ||
Lsps
Install a new one
- Install lsp with default package manager.
- Add
lsp/<name-of-lsp>.luafile with correct settings - Add to
vim.lsp.enablein lua/lsp.lua
Local config
Exrc is enabled. To add some local config create .nvim.lua and add it there. You will then get prompted if you trust the file. If you accidentally deny the file you have to edit the trust file. Recommended to ignore .nvim.lua files for git globally:
git config --global core.excludesFile '~/.gitignore'
echo .nvim.lsp >> ~/.gitignore
Java
Sometimes jdtls wont work. Then one solution might be to remove /home/erik/.cache/nvim/jdtls/workspaces/