mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
plugins/new-file-template: improve documentation
This commit is contained in:
parent
5d219a0a7b
commit
ef9b08a462
1 changed files with 5 additions and 1 deletions
|
@ -10,7 +10,11 @@ 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. 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" {
|
setupOpts = mkPluginSetupOption "nvim-file-template.nvim" {
|
||||||
|
|
Loading…
Reference in a new issue