plugins/new-file-template: fix disableSpecific example

This commit is contained in:
jacekpoz 2024-08-02 19:08:32 +02:00
parent 4018f31087
commit 5d219a0a7b
No known key found for this signature in database

View file

@ -36,9 +36,7 @@ in {
type = attrsOf (listOf str); type = attrsOf (listOf str);
default = {}; default = {};
description = "Disable specific regexp for the default templates. Example: { ruby = [ \".*\" ]; }"; description = "Disable specific regexp for the default templates. Example: { ruby = [ \".*\" ]; }";
example = { example = "{ ruby = [\".*\"]; }";
ruby = [".*"];
};
}; };
suffixAsFiletype = mkOption { suffixAsFiletype = mkOption {