summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-11-02 17:30:58 +0100
committerRobert Günzler <r@gnzler.io>2021-11-02 19:06:47 +0100
commit35645126ce10bf2e84d372b5794ea51135d1d0ad (patch)
tree174109231551b33bddb99d8b0d94e5b74975e608
parent15a7ac4890dea48be140350c295d4d9ea05292ee (diff)
vim: switch from commentary to comment.nvim
-rw-r--r--.vim/lua/plugins.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua
index 7d19781..d808784 100644
--- a/.vim/lua/plugins.lua
+++ b/.vim/lua/plugins.lua
@@ -56,7 +56,10 @@ return require('packer').startup({function()
       nnoremap { '[h', function() vim.fn['sy#jump#prev_hunk'](1) end }
     end} -- }}}
 
-  use {'tpope/vim-commentary'}   -- auto-comment using `gcc`
+  use {'numToStr/Comment.nvim',
+    config = function()
+      require('Comment').setup()
+    end}
 
   use {'windwp/nvim-autopairs',
     config = function()