diff --git a/modules/plugins/utility/new-file-template/new-file-template.nix b/modules/plugins/utility/new-file-template/new-file-template.nix index 88054ab..d7314cc 100644 --- a/modules/plugins/utility/new-file-template/new-file-template.nix +++ b/modules/plugins/utility/new-file-template/new-file-template.nix @@ -36,9 +36,7 @@ in { type = attrsOf (listOf str); default = {}; description = "Disable specific regexp for the default templates. Example: { ruby = [ \".*\" ]; }"; - example = { - ruby = [".*"]; - }; + example = "{ ruby = [\".*\"]; }"; }; suffixAsFiletype = mkOption {