diff --git a/ftplugin/java.lua b/ftplugin/java.lua index 0384a62..321d15e 100644 --- a/ftplugin/java.lua +++ b/ftplugin/java.lua @@ -3,4 +3,4 @@ nvim_jdtls.start_or_attach({ cmd = { 'jdtls' }, root_dir = vim.fs.dirname(vim.fs.find({'.gradlew', '.git', 'mvnw'}, {upward = true})[1]), }) -require('keybinds'):set_lsp_keys({}) +require('keybinds'):set_lsp_keys({buffer = 0}) diff --git a/lua/plugins.lua b/lua/plugins.lua index 4310893..91a89ba 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -307,7 +307,6 @@ local init_fn = function(use) lspconfig.clangd.setup({capabilities=capabilities, on_attach=set_lsp_binds}) lspconfig.ltex.setup({capabilities=capabilities, on_attach=set_lsp_binds}) lspconfig.kotlin_language_server.setup({capabilities=capabilities, on_attach=set_lsp_binds}) - lspconfig.jdtls.setup({capabilities=capabilities, on_attach=set_lsp_binds}) lspconfig.sumneko_lua.setup({ capabilites=capabilities, on_attach=set_lsp_binds,