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 = diagnosticSeverity =
helpers.defaultNullOpts.mkNullable helpers.defaultNullOpts.mkNullable
(with types; either string (attrsOf str)) (with types; either str (attrsOf str))
"information" "information"
'' ''
Severity of the diagnostics corresponding to the grammar and spelling errors. Severity of the diagnostics corresponding to the grammar and spelling errors.

View file

@ -106,12 +106,12 @@ in {
}; };
ignored_filetypes = mkOption { ignored_filetypes = mkOption {
type = with types; listOf string; type = with types; listOf str;
default = []; default = [];
}; };
ignored_buffertypes = mkOption { ignored_buffertypes = mkOption {
type = with types; listOf string; type = with types; listOf str;
default = ["nofile"]; default = ["nofile"];
}; };
}; };