From 5d219a0a7b901f8ea4b1bae826e2f0a7f5fdf0b9 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Fri, 2 Aug 2024 19:08:32 +0200 Subject: [PATCH] plugins/new-file-template: fix disableSpecific example --- .../plugins/utility/new-file-template/new-file-template.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 {