mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
Merge pull request #140 from horriblename/fix-jdtls-on-attach
fix: add missing on_attach for jdtls
This commit is contained in:
commit
6b77a70ba2
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