From 35645126ce10bf2e84d372b5794ea51135d1d0ad Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Tue, 2 Nov 2021 17:30:58 +0100 Subject: vim: switch from commentary to comment.nvim --- .vim/lua/plugins.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() -- cgit 1.4.1