From 4018f31087382878fac7c4af4aaa25bc7c1baafb Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Fri, 2 Aug 2024 14:21:25 +0200 Subject: [PATCH] plugins/new-file-template: add docs on how to add custom templates --- modules/plugins/utility/new-file-template/new-file-template.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f4fa9aa0..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,7 +10,7 @@ in { enable = mkOption { type = bool; default = false; - description = "new-file-template.nvim: Automatically insert a template on new files in neovim"; + 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" {