mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 23:16:46 +00:00
plugins/new-file-template: add docs on how to add custom templates
This commit is contained in:
parent
eedd58c903
commit
4018f31087
1 changed files with 1 additions and 1 deletions
|
@ -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" {
|
||||||
|
|
Loading…
Reference in a new issue