top | item 42533914

(no title)

gorset | 1 year ago

There's a lot of ceremony to run jdtls!

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 },
My ftplugin/java.lua is about 100 lines, with most of it being settings and key bindings.

discuss

order

nobleach|1 year ago

I feel the exact same way. I've had various iterations of this ftplugin for a couple of years now but... everyone else has figured out how to just install an LSP and move on. Why is Java such a special snowflake here?