Skip to content

Conversation

@andrewderekjackson
Copy link
Contributor

@andrewderekjackson andrewderekjackson commented Sep 19, 2025

Adds lsp config for apex language service, essentially just converting the existing legacy config to the new format.

#3705

Adds lsp config for apex language service
Comment on lines +38 to +42
cmd = function(dispatchers, config)
local local_cmd = {
vim.env.JAVA_HOME and (vim.env.JAVA_HOME .. '/bin/java') or 'java',
'-cp',
config.apex_jar_path,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting approach. And since cmd() gained the config arg, this is much more ergonomic. We should keep this is mind for other configs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't take any credit for that I'm afraid - the approach was shamefully pillaged from the biome config.

@justinmk justinmk merged commit d51b2c9 into neovim:master Sep 19, 2025
6 checks passed
@justinmk justinmk mentioned this pull request Sep 19, 2025
31 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants