diff --git a/home/neovim/lua/plugins/comment.lua b/home/neovim/lua/plugins/comment.lua new file mode 100644 index 0000000..80aa12d --- /dev/null +++ b/home/neovim/lua/plugins/comment.lua @@ -0,0 +1,22 @@ +return { + "numToStr/Comment.nvim", + config = { + toggler = { + line = 'c', + block = 'b' + }, + opleader = { + line = 'c', + block = 'b', + }, + extra = { + above = 'cO', + below = 'co', + eol = 'cA', + }, + mappings = { + basic = true, + extra = false, + }, + }, +} diff --git a/home/neovim/lua/plugins/nerdcommenter.lua b/home/neovim/lua/plugins/nerdcommenter.lua deleted file mode 100644 index 8490ce6..0000000 --- a/home/neovim/lua/plugins/nerdcommenter.lua +++ /dev/null @@ -1,6 +0,0 @@ -return { - "preservim/nerdcommenter", - config = function () - vim.g["NERDDefaultAlign"] = "left" - end -}