misc: remove deprecated instances of types.string

This commit is contained in:
Gaetan Lepage 2023-08-10 18:35:28 +02:00 committed by Gaétan Lepage
parent de868adaa3
commit 764a6a8666
2 changed files with 3 additions and 3 deletions

View file

@ -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.

View file

@ -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"];
};
};