plugins/new-file-template: add docs on how to add custom templates

This commit is contained in:
jacekpoz 2024-08-02 14:21:25 +02:00
parent eedd58c903
commit 4018f31087
No known key found for this signature in database

View file

@ -10,7 +10,7 @@ in {
enable = mkOption { enable = mkOption {
type = bool; type = bool;
default = false; 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" { setupOpts = mkPluginSetupOption "nvim-file-template.nvim" {