haskell-language-server: lib.filterAttrs -> lib.removeAttrs

This commit is contained in:
h7x4
2025-04-07 10:03:01 +02:00
parent d857cda9ec
commit 82f8caefa3

View File

@@ -99,7 +99,7 @@ let
let let
# only formatters that were not requested # only formatters that were not requested
unwanted = lib.pipe knownFormatters [ unwanted = lib.pipe knownFormatters [
(lib.filterAttrs (fmt: _: !(lib.elem fmt supportedFormatters))) (fmts: lib.removeAttrs fmts supportedFormatters)
lib.attrsToList lib.attrsToList
]; ];
# all flags to disable # all flags to disable