summaryrefslogtreecommitdiff
path: root/.config/nvim/lua
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-10-06 12:50:06 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2021-10-06 13:03:14 +0200
commit95ce104cb9493fdfc40081d51d9558ba01f75efc (patch)
treeab112f74ae03526f55b9e37d363dd197d6867bba /.config/nvim/lua
parentef60da241458cf1706a71e1e67ee936cf2273857 (diff)
nvim installed comment plugin
Diffstat (limited to '.config/nvim/lua')
-rw-r--r--.config/nvim/lua/opts.lua2
-rw-r--r--.config/nvim/lua/plugins.lua1
-rw-r--r--.config/nvim/lua/setup.lua1
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