From 1183178899ee800c293f0fe39f6c7ef4dd9ddfed Mon Sep 17 00:00:00 2001 From: punkfairie Date: Wed, 1 Jan 2025 14:17:33 -0800 Subject: [PATCH] feat: mini.comment --- nix/neovim-overlay.nix | 1 + nvim/lua/plugins/coding/init.lua | 1 + nvim/lua/plugins/coding/mini-comment.lua | 7 +++++++ 3 files changed, 9 insertions(+) create mode 100644 nvim/lua/plugins/coding/mini-comment.lua diff --git a/nix/neovim-overlay.nix b/nix/neovim-overlay.nix index c30515e..6afe4ae 100644 --- a/nix/neovim-overlay.nix +++ b/nix/neovim-overlay.nix @@ -98,6 +98,7 @@ with final.pkgs.lib; let lexima-vim (mkNvimPlugin inputs.neotab-nvim "neotab.nvim") ts-comments-nvim + mini-comment mini-ai # Formatting diff --git a/nvim/lua/plugins/coding/init.lua b/nvim/lua/plugins/coding/init.lua index 52bb2db..2af8943 100644 --- a/nvim/lua/plugins/coding/init.lua +++ b/nvim/lua/plugins/coding/init.lua @@ -8,4 +8,5 @@ return { req('neotab-nvim'), req('ts-comments-nvim'), req('mini-ai'), + req('mini-comment'), } diff --git a/nvim/lua/plugins/coding/mini-comment.lua b/nvim/lua/plugins/coding/mini-comment.lua new file mode 100644 index 0000000..f581764 --- /dev/null +++ b/nvim/lua/plugins/coding/mini-comment.lua @@ -0,0 +1,7 @@ +return { + 'mini.comment', + event = 'DeferredUIEnter', + after = function() + require('mini.comment').setup({}) + end, +}