I find it easier to just install language servers using brew. Then the command can be simplified to
cmd = { 'jdtls', '-data', home_dir .. '/.local/state/jdtls/' .. project_name },
I find it easier to just install language servers using brew. Then the command can be simplified to
My ftplugin/java.lua is about 100 lines, with most of it being settings and key bindings.