From ef9b08a4621a07d9868804090f1e903299e51a53 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Wed, 7 Aug 2024 17:09:04 +0200 Subject: [PATCH] plugins/new-file-template: improve documentation --- .../plugins/utility/new-file-template/new-file-template.nix | 6 +++++- 1 file changed, 5 insertions(+), 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 d7314cc..6b86a60 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,11 @@ 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`."; + 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 + ''; }; setupOpts = mkPluginSetupOption "nvim-file-template.nvim" {