From e9de34405fa22f3aa11d0403bb5b62db70cf5c21 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sun, 8 May 2022 10:04:12 -0400 Subject: [PATCH] replace commentary with comment.nvim --- modules/editor/neovim/packer-basics.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/editor/neovim/packer-basics.lua b/modules/editor/neovim/packer-basics.lua index edf7f84..5264234 100644 --- a/modules/editor/neovim/packer-basics.lua +++ b/modules/editor/neovim/packer-basics.lua @@ -11,7 +11,6 @@ use({ -- Important tweaks use("tpope/vim-surround") --- Manipulate parentheses -use("tpope/vim-commentary") --- Use gc or gcc to add comments -- Convenience tweaks use("tpope/vim-eunuch") --- File manipulation in Vim @@ -20,6 +19,14 @@ use("tpope/vim-fugitive") --- Git commands and syntax use("tpope/vim-repeat") --- Actually repeat using . use("christoomey/vim-tmux-navigator") --- Hotkeys for tmux panes +-- Use gc or gcc to add comments +use({ + "numToStr/Comment.nvim", + config = function() + require("Comment").setup() + end, +}) + -- Git next to line numbers use({ "lewis6991/gitsigns.nvim",