feat(plugins): add comment.nvim and ts-context-commentstring
This commit is contained in:
parent
2ad46396b9
commit
6d277fcd66
2 changed files with 20 additions and 0 deletions
13
plugins/comment.nix
Normal file
13
plugins/comment.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# homepage: https://github.com/numtostr/comment.nvim/
|
||||
# nixvim doc: https://nix-community.github.io/nixvim/plugins/comment/index.html
|
||||
_:
|
||||
|
||||
{
|
||||
opts = {
|
||||
enable = true;
|
||||
|
||||
settings.pre_hook = ''
|
||||
require("ts_context_commentstring.integrations.comment_nvim").create_pre_hook()
|
||||
'';
|
||||
};
|
||||
}
|
||||
7
plugins/ts-context-commentstring.nix
Normal file
7
plugins/ts-context-commentstring.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# homepage: https://github.com/JoosepAlviste/nvim-ts-context-commentstring
|
||||
# nixvim doc: https://nix-community.github.io/nixvim/plugins/ts-context-commentstring.html
|
||||
_:
|
||||
|
||||
{
|
||||
opts.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue