fix: disable lspconfig, set bufnr

This commit is contained in:
əlemi 2023-02-01 01:00:43 +01:00
parent 2b19d6910a
commit a51e18c5d5
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 1 additions and 2 deletions

View file

@ -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})

View file

@ -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,