mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00: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