commit ecf94b5c2eb4681a51ea55f553b92c91cad041c6 parent 99b10f18aa861bc288b93cd6099928b575371865 Author: FIGBERT <figbert@figbert.com> Date: Fri, 13 Jan 2023 09:56:38 -0800 Update language server config Diffstat:
M | dot_config/nvim/init.lua.tmpl | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dot_config/nvim/init.lua.tmpl b/dot_config/nvim/init.lua.tmpl @@ -116,7 +116,7 @@ require("lualine").setup { options = { theme = "horizon" } } require("which-key").setup{} ----- LANGUAGE SERVERS ----- -local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities()) +local capabilities = require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol.make_client_capabilities()) local ts = require "nvim-treesitter.configs" ts.setup { ensure_installed = "all", highlight = { enable = true }} @@ -137,3 +137,4 @@ require"lspconfig".zls.setup{capabilities = capabilities} require"lspconfig".jedi_language_server.setup{capabilities = capabilities} require"lspconfig".nimls.setup{capabilities = capabilities} require'lspconfig'.texlab.setup{capabilities = capabilities} +require'lspconfig'.jdtls.setup{capabilities = capabilities}