No description
Find a file
2025-12-01 07:58:12 +01:00
after/ftplugin Add ts, html, json and css lsps 2025-04-06 20:16:27 +02:00
ftplugin Add nvim-jdtls 2025-07-22 08:57:05 +02:00
lsp Add elixir dap 2025-07-22 08:57:05 +02:00
lua Add keymaps for add and reset file in git 2025-12-01 07:58:12 +01:00
.gitignore Remove everything! 2025-04-05 09:21:02 +02:00
init.lua Add lua lsp and general lsp support and options 2025-04-06 19:15:56 +02:00
lazy-lock.json Update deps 2025-09-01 07:36:37 +02:00
README.md Add nvim-jdtls 2025-07-22 08:57:05 +02:00

Lsps

Install a new one

  1. Install lsp with default package manager.
  2. Add lsp/<name-of-lsp>.lua file with correct settings
  3. Add to vim.lsp.enable in 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/