added ftplugin/java.lua

This commit is contained in:
___ 2025-07-27 16:29:18 -04:00
parent e37a8980b6
commit 6289212ae9
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
local config = {
cmd = { vim.fn.expand '/home/neox/.local/share/nvim/mason/bin/jdtls' },
root_dir = vim.fs.dirname(vim.fs.find({ 'gradlew', '.git', 'mvnw' }, { upward = true })[1]),
flags = { debounce_text_changes = 80 },
}
require('jdtls').start_or_attach(config)