feat: added java support I think
This commit is contained in:
parent
27d1234f6b
commit
7a0e05991d
4 changed files with 32 additions and 0 deletions
10
lua/custom/plugins/jdtls.lua
Normal file
10
lua/custom/plugins/jdtls.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
return {
|
||||
"mfussenegger/nvim-jdtls",
|
||||
config = function()
|
||||
local config = {
|
||||
cmd = { "/usr/bin/jdtls" },
|
||||
root_dir = vim.fs.dirname(vim.fs.find({ "gradlew", ".git", "mvnw" }, { upward = true })[1]),
|
||||
}
|
||||
require("jdtls").start_or_attach(config)
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue