mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 08:39:50 +01:00
fix: add missing on_attach for jdtls
This commit is contained in:
parent
ce1009db5f
commit
1deee2f27b
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ in {
|
||||||
vim.lsp.lspconfig.enable = true;
|
vim.lsp.lspconfig.enable = true;
|
||||||
vim.lsp.lspconfig.sources.jdtls = ''
|
vim.lsp.lspconfig.sources.jdtls = ''
|
||||||
lspconfig.jdtls.setup {
|
lspconfig.jdtls.setup {
|
||||||
|
capabilities = capabilities,
|
||||||
|
on_attach = default_on_attach,
|
||||||
cmd = ${
|
cmd = ${
|
||||||
if isList cfg.lsp.package
|
if isList cfg.lsp.package
|
||||||
then nvim.lua.expToLua cfg.lsp.package
|
then nvim.lua.expToLua cfg.lsp.package
|
||||||
|
|
Loading…
Reference in a new issue