1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-30 22:21:04 +01:00

plugins/efmls-configs: avoid reading HTML & JSON aliases

f0764db721 added rename aliases for the
HTML and JSON options, which print a trace when evaluated:

    trace: Obsolete option `HTML' is used. It was renamed to `html'.
    trace: Obsolete option `JSON' is used. It was renamed to `json'.

These were correctly removed when introspecting enabled tools, however
they were not removed when constructing the "setup options" to serialise
as a lua table.
This commit is contained in:
Matt Sturgeon 2025-11-29 00:55:46 +00:00
parent 9d6a7608df
commit b831550ec8

View file

@ -182,7 +182,10 @@ lib.nixvim.plugins.mkNeovimPlugin {
(
builtins.removeAttrs cfg.setup [
"all"
# Rename aliases added 2025-06-25 in https://github.com/nix-community/nixvim/pull/3503
"warnings"
"HTML"
"JSON"
]
)
)