diff --git a/plugins/lsp/language-servers/ltex-settings.nix b/plugins/lsp/language-servers/ltex-settings.nix index 1e3a523f..7a927829 100644 --- a/plugins/lsp/language-servers/ltex-settings.nix +++ b/plugins/lsp/language-servers/ltex-settings.nix @@ -574,7 +574,7 @@ in { diagnosticSeverity = helpers.defaultNullOpts.mkNullable - (with types; either string (attrsOf str)) + (with types; either str (attrsOf str)) "information" '' Severity of the diagnostics corresponding to the grammar and spelling errors. diff --git a/plugins/utils/specs.nix b/plugins/utils/specs.nix index 77b179bc..ebfbdc99 100644 --- a/plugins/utils/specs.nix +++ b/plugins/utils/specs.nix @@ -106,12 +106,12 @@ in { }; ignored_filetypes = mkOption { - type = with types; listOf string; + type = with types; listOf str; default = []; }; ignored_buffertypes = mkOption { - type = with types; listOf string; + type = with types; listOf str; default = ["nofile"]; }; };