Merge pull request #140 from horriblename/fix-jdtls-on-attach

fix: add missing on_attach for jdtls
This commit is contained in:
NotAShelf 2023-09-27 07:00:33 +03:00 committed by GitHub
commit 6b77a70ba2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,8 @@ in {
vim.lsp.lspconfig.enable = true;
vim.lsp.lspconfig.sources.jdtls = ''
lspconfig.jdtls.setup {
capabilities = capabilities,
on_attach = default_on_attach,
cmd = ${
if isList cfg.lsp.package
then nvim.lua.expToLua cfg.lsp.package