nvim-jdtls support
realtica opened this issue · 1 comments
realtica commented
How is the correct way to configure navigator.lua to work together with nvim-jdtls?
- This is my setup and JDTLS is loaded 2 times( 2 client(s) attached to this buffer) :(
require 'navigator'.setup(
{
debug = false,
lsp = {
format_on_save = false,
diagnostic_virtual_text = false,
servers = { 'lemminx', 'jdtls' },
bashls = {
autostart = true
},
angularls = {
filetypes = { 'html' },
-- cmd = cmd,
-- on_new_config = function(new_config,new_root_dir)
-- new_config.cmd = cmd
-- end,
}
}
}
)
EpsilonKu commented
you need to remove jdtls from config. You are loading jdtls two times. One from navigator and one from jdtls config