-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(lspconfig): add hook before and not after #92
base: main
Are you sure you want to change the base?
Conversation
…nfig` functions rely on final `settings` values
This PR is stale because it has been open 30 days with no activity. |
Any chance for a review on this? |
This PR is stale because it has been open 30 days with no activity. |
Any chance for a review on this? |
This PR is stale because it has been open 30 days with no activity. |
This isn't stale! Still waiting for review and keeping up to date :) |
This PR is stale because it has been open 30 days with no activity. |
This isn't stale, still ready to merge |
Description
A common use of
on_new_config
is to construct thecmd
for starting language servers based on the configuration. These language servers require that the settings are finalized before it is run. It looks like previous commits did useadd_hook_before
for thelspconfig
integration but it got moved to beingadd_hook_after
when centralizing it with thelua_ls
andjsonls
plugin integrations. We should revert this back toadd_hook_before
so that the existingon_new_config
functions continue working.