mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
Compare commits
3 commits
4033a24038
...
d7351f0021
Author | SHA1 | Date | |
---|---|---|---|
|
d7351f0021 | ||
|
ef9b08a462 | ||
|
5d219a0a7b |
1 changed files with 6 additions and 4 deletions
|
@ -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" {
|
||||
|
@ -36,9 +40,7 @@ in {
|
|||
type = attrsOf (listOf str);
|
||||
default = {};
|
||||
description = "Disable specific regexp for the default templates. Example: { ruby = [ \".*\" ]; }";
|
||||
example = {
|
||||
ruby = [".*"];
|
||||
};
|
||||
example = "{ ruby = [\".*\"]; }";
|
||||
};
|
||||
|
||||
suffixAsFiletype = mkOption {
|
||||
|
|
Loading…
Reference in a new issue