diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2021-10-06 12:50:06 +0200 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2021-10-06 12:50:06 +0200 |
commit | 3d406ba3f27e0ba9c8746fd977265a0ab7e1648b (patch) | |
tree | 94b72db59dcef5686125b8901e7b6e2ec694bb44 | |
parent | ef60da241458cf1706a71e1e67ee936cf2273857 (diff) |
nvim installed comment plugin
-rw-r--r-- | .config/nvim/lua/opts.lua | 2 | ||||
-rw-r--r-- | .config/nvim/lua/plugins.lua | 1 | ||||
-rw-r--r-- | .config/nvim/lua/setup.lua | 1 |
3 files changed, 3 insertions, 1 deletions
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 |