aboutsummaryrefslogtreecommitdiffhomepage
path: root/.config/nvim/lua/vimrc
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-05-29 01:39:35 +0900
committernsfisis <nsfisis@gmail.com>2024-05-29 01:39:35 +0900
commite370764a46a658db81a4b0a5d766d22fbf7aad90 (patch)
tree04331c56c3c6152e8d5ac124384d7a5df878a518 /.config/nvim/lua/vimrc
parent065c22bf8c901b83ba18a75f85630a4852ca0ab7 (diff)
downloaddotfiles-e370764a46a658db81a4b0a5d766d22fbf7aad90.tar.gz
dotfiles-e370764a46a658db81a4b0a5d766d22fbf7aad90.tar.zst
dotfiles-e370764a46a658db81a4b0a5d766d22fbf7aad90.zip
nvim/ibl: hide first space indent level
Diffstat (limited to '.config/nvim/lua/vimrc')
-rw-r--r--.config/nvim/lua/vimrc/plugins.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/lua/vimrc/plugins.lua b/.config/nvim/lua/vimrc/plugins.lua
index 6e0a910..bfcbdb6 100644
--- a/.config/nvim/lua/vimrc/plugins.lua
+++ b/.config/nvim/lua/vimrc/plugins.lua
@@ -282,6 +282,11 @@ return {
enabled = false,
},
}
+ local hooks = require('ibl.hooks')
+ hooks.register(
+ hooks.type.WHITESPACE,
+ hooks.builtin.hide_first_space_indent_level
+ )
end,
},
-- Highlight matched parentheses.