diff --git a/plugins/comment.nix b/plugins/comment.nix new file mode 100644 index 0000000..3abe9c4 --- /dev/null +++ b/plugins/comment.nix @@ -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() + ''; + }; +} diff --git a/plugins/ts-context-commentstring.nix b/plugins/ts-context-commentstring.nix new file mode 100644 index 0000000..e025dd9 --- /dev/null +++ b/plugins/ts-context-commentstring.nix @@ -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; +}