mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-22 08:39:49 +01: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