From 31088039555a277da0c80ba36bdbd001c3111666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Wed, 8 Jun 2022 09:50:44 +0200 Subject: [PATCH] Add root dir for rplugins in jdtls --- symlinks/config/nvim/lua/esensar/lsp/jdtls_setup.lua | 1 + symlinks/tool-versions | 1 + 2 files changed, 2 insertions(+) diff --git a/symlinks/config/nvim/lua/esensar/lsp/jdtls_setup.lua b/symlinks/config/nvim/lua/esensar/lsp/jdtls_setup.lua index 5dacb5b..a7c12c1 100644 --- a/symlinks/config/nvim/lua/esensar/lsp/jdtls_setup.lua +++ b/symlinks/config/nvim/lua/esensar/lsp/jdtls_setup.lua @@ -47,6 +47,7 @@ function M.setup() } if is_in_config_home() then + config.root_dir = vim.fn.resolve(vim.fn.expand(vim.fn.stdpath("config"))) .. "/rplugin/java" config.settings.java.project = { referencedLibraries = require("java_plugin_host").classpath, } diff --git a/symlinks/tool-versions b/symlinks/tool-versions index fad6cc7..ceb0ddd 100644 --- a/symlinks/tool-versions +++ b/symlinks/tool-versions @@ -12,3 +12,4 @@ actionlint 1.6.12 act 0.2.26 shellcheck 0.8.0 cmake 3.23.1 +maven 3.8.5