use mason package instead of own compiled

This commit is contained in:
fiplox 2023-01-19 19:29:57 +01:00
parent 4fe65e5f5d
commit 2685da169e
1 changed files with 2 additions and 2 deletions

View File

@ -37,11 +37,11 @@ JAVA_DAP_ACTIVE = true
local bundles = {
vim.fn.glob(
home .. '/.config/nvim/.java-debug/com.microsoft.java.debug.plugin/target/com.microsoft.java.debug.plugin-*.jar'
home .. '/.local/share/nvim/mason/packages/java-debug-adapter/extension/server/com.microsoft.java.debug.plugin-*.jar'
),
}
vim.list_extend(bundles, vim.split(vim.fn.glob(home .. '/.config/nvim/.vscode-java-test/server/*.jar'), '\n'))
vim.list_extend(bundles, vim.split(vim.fn.glob(home .. '/.local/share/nvim/mason/packages/java-test/extension/server/*.jar'), '\n'))
local function lsp_keymaps(bufnr)
local opt = { noremap = true, silent = true }