Skip to content

Conversation

@georgiy-belyanin
Copy link
Contributor

This patch fixes loading configurations in NeoVim in cases when no extra
LSP config parameters are provided. After loading Emmyrc configs
they were merged with partial Emmyrcs loaded based on the LSP config
in NeoVim. If LSP hasn't got configuration section configured you came
into a situation with only Null object partial Emmyrc overwriting
the local Emmyrc configuration.

Let's ignore Null LSP configurations (i.e. unprovided ones) to prevent
them from completely overwriting other configurations when loading
NeoVim LSP configuration options.

This patch fixes loading configurations in NeoVim in cases when no extra
LSP config parameters are provided. After loading Emmyrc configs
they were merged with partial Emmyrcs loaded based on the LSP config
in NeoVim. If LSP hasn't got configuration section configured you came
into a situation with only Null object partial Emmyrc overwriting
the local Emmyrc configuration.

Let's ignore Null LSP configurations (i.e. unprovided ones) to prevent
them from completely overwriting other configurations when loading
NeoVim LSP configuration options.
@CppCXY CppCXY merged commit 7d75306 into EmmyLuaLs:main Jan 31, 2025
17 checks passed
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