Fixed extra spawning of jdtls instance, plus use relative home dir.
This commit is contained in:
1 parent
708b7da313
commit
2da43ba493
2 files changed
+2
-3
No files matched your search
+2
-2
@@ -1,5 +1,5 @@
|
||||
local config = {
|
||||
cmd = {'/home/anth/.local/share/jdtls/bin/jdtls'},
|
||||
root_dir = vim.fs.dirname(vim.fs.find({'gradlew', '.git', 'mvnw'}, { upward = true })[1]),
|
||||
cmd = { vim.fn.expand("~/.local/share/jdtls/bin/jdtls") },
|
||||
root_dir = vim.fs.dirname(vim.fs.find({'gradlew', '.git', 'mvnw'}, { upward = true })[1]),
|
||||
}
|
||||
require('jdtls').start_or_attach(config)
|
||||
Reference in new issue
Block a user