From 3d406ba3f27e0ba9c8746fd977265a0ab7e1648b Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Wed, 6 Oct 2021 12:50:06 +0200 Subject: nvim installed comment plugin --- .config/nvim/lua/opts.lua | 2 ++ .config/nvim/lua/plugins.lua | 1 + .config/nvim/lua/setup.lua | 1 - 3 files changed, 3 insertions(+), 1 deletion(-) (limited to '.config/nvim') diff --git a/.config/nvim/lua/opts.lua b/.config/nvim/lua/opts.lua index 7750921..259f460 100644 --- a/.config/nvim/lua/opts.lua +++ b/.config/nvim/lua/opts.lua @@ -68,3 +68,5 @@ require'nvim-treesitter.configs'.setup { enable = true, }, } + +require('kommentary.config').use_extended_mappings() diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 2866afe..afcfa5d 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -12,6 +12,7 @@ return require('packer').startup(function() use 'kyazdani42/nvim-web-devicons' use 'norcalli/nvim-colorizer.lua' + use 'b3nj5m1n/kommentary' use { 'nvim-telescope/telescope.nvim', diff --git a/.config/nvim/lua/setup.lua b/.config/nvim/lua/setup.lua index ae460e7..f6e0d6e 100644 --- a/.config/nvim/lua/setup.lua +++ b/.config/nvim/lua/setup.lua @@ -18,7 +18,6 @@ set.autoindent = true set.expandtab = true set.showmode = false set.ruler = false -set.cmdheight = 2 set.timeout = false set.ttimeoutlen = 200 -- cgit v1.2.3-70-g09d2