From 94ecdca96d25217e35bd799d2312a48663e30fb1 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Thu, 8 Aug 2024 19:08:08 +0200 Subject: [PATCH] plugins/new-file-template: more doc improvements --- .../utility/new-file-template/new-file-template.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 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 3a77ec1..fddaacb 100644 --- a/modules/plugins/utility/new-file-template/new-file-template.nix +++ b/modules/plugins/utility/new-file-template/new-file-template.nix @@ -12,8 +12,12 @@ in { 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 + ::: {.note} + For custom templates add a directory containing `lua/templates/*.lua` + to `vim.additionalRuntimePaths`. + ::: + [custom-template-docs]: https://github.com/otavioschwanck/new-file-template.nvim?tab=readme-ov-file#creating-new-templates + More documentation on the templates available at [custom-template-docs] ''; }; @@ -46,7 +50,7 @@ in { suffixAsFiletype = mkOption { type = bool; default = false; - description = "Use suffix of filename rather than vim.bo.filetype as filetype"; + description = "Use suffix of filename rather than `vim.bo.filetype` as filetype"; }; }; };