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

[Bug]: user's lsp config replaced the whole config rather than merge predefined config with overwrite. #1377

Closed
ayamir opened this issue Dec 11, 2024 Discussed in #1375 · 0 comments · Fixed by #1376
Closed
Labels
bug Something isn't working

Comments

@ayamir
Copy link
Owner

ayamir commented Dec 11, 2024

Discussed in #1375

Originally posted by JoeMob December 11, 2024
Here's my config of pylsp to enable isort of pylsp
lua/user/lsp-servers/pylsp.lua:
return { settings = { pylsp = { plugins = { pyls_isort = { enabled = true }, }, }, }, }.
Due to the Steps to modify plugin configs part of the wiki, I think the table returned should just update the pyls_isort property but not replace the whole config.

@ayamir ayamir linked a pull request Dec 11, 2024 that will close this issue
@ayamir ayamir added the bug Something isn't working label Dec 11, 2024
@ayamir ayamir changed the title [Bug]: user's lsp config replaced the whole config rathen merge with overwrite. [Bug]: user's lsp config replaced the whole config rather than merge predefined config with overwrite. Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant