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 6b86a60b..88054ab0 100644 --- a/modules/plugins/utility/new-file-template/new-file-template.nix +++ b/modules/plugins/utility/new-file-template/new-file-template.nix @@ -10,11 +10,7 @@ in { enable = mkOption { type = bool; default = false; - description = '' - new-file-template.nvim: Automatically insert a template on new files in neovim. - To add custom templates add a directory containing `lua/templates/*.lua` to `vim.additionalRuntimePaths`. - More documentation on the templates available at https://github.com/otavioschwanck/new-file-template.nvim?tab=readme-ov-file#creating-new-templates - ''; + description = "new-file-template.nvim: Automatically insert a template on new files in neovim. To add custom templates add a directory containing `lua/templates/*.lua` to `vim.additionalRuntimePaths`."; }; setupOpts = mkPluginSetupOption "nvim-file-template.nvim" { @@ -40,7 +36,9 @@ in { type = attrsOf (listOf str); default = {}; description = "Disable specific regexp for the default templates. Example: { ruby = [ \".*\" ]; }"; - example = "{ ruby = [\".*\"]; }"; + example = { + ruby = [".*"]; + }; }; suffixAsFiletype = mkOption {