Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mehalter
Copy link
Contributor

Description

A common use of on_new_config is to construct the cmd 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 use add_hook_before for the lspconfig integration but it got moved to being add_hook_after when centralizing it with the lua_ls and jsonls plugin integrations. We should revert this back to add_hook_before so that the existing on_new_config functions continue working.

…nfig` functions rely on final `settings` values
Copy link
Contributor

This PR is stale because it has been open 30 days with no activity.

@github-actions github-actions bot added the stale label Oct 24, 2024
@mehalter
Copy link
Contributor Author

Any chance for a review on this?

@github-actions github-actions bot removed the stale label Oct 25, 2024
Copy link
Contributor

This PR is stale because it has been open 30 days with no activity.

@github-actions github-actions bot added the stale label Nov 24, 2024
@mehalter
Copy link
Contributor Author

Any chance for a review on this?

@github-actions github-actions bot removed the stale label Nov 25, 2024
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.

1 participant