fix: disable lspconfig, set bufnr
This commit is contained in:
parent
2b19d6910a
commit
a51e18c5d5
2 changed files with 1 additions and 2 deletions
|
@ -3,4 +3,4 @@ nvim_jdtls.start_or_attach({
|
||||||
cmd = { 'jdtls' },
|
cmd = { 'jdtls' },
|
||||||
root_dir = vim.fs.dirname(vim.fs.find({'.gradlew', '.git', 'mvnw'}, {upward = true})[1]),
|
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})
|
||||||
|
|
|
@ -307,7 +307,6 @@ local init_fn = function(use)
|
||||||
lspconfig.clangd.setup({capabilities=capabilities, on_attach=set_lsp_binds})
|
lspconfig.clangd.setup({capabilities=capabilities, on_attach=set_lsp_binds})
|
||||||
lspconfig.ltex.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.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({
|
lspconfig.sumneko_lua.setup({
|
||||||
capabilites=capabilities,
|
capabilites=capabilities,
|
||||||
on_attach=set_lsp_binds,
|
on_attach=set_lsp_binds,
|
||||||
|
|
Loading…
Reference in a new issue