1
0
Fork 0

nvim: Replace Mason with local language servers

This commit is contained in:
Olli 2025-09-20 11:46:02 +02:00
commit b62cdc7c64
3 changed files with 8 additions and 158 deletions

View file

@ -12,8 +12,8 @@ require('jdtls').start_or_attach({
root_dir = vim.fs.dirname(vim.fs.find({'gradlew', '.git', 'mvnw'}, { upward = true })[1]),
init_options = {
bundles = {
vim.fn.expand("$MASON/share/java-debug-adapter/com.microsoft.java.debug.core.jar"),
vim.fn.expand("$MASON/share/java-debug-adapter/com.microsoft.java.debug.plugin.jar"),
vim.fn.expand("/usr/share/java-debug/com.microsoft.java.debug.core.jar"),
vim.fn.expand("/usr/share/java-debug/com.microsoft.java.debug.plugin.jar"),
},
},
java = {