diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-05-29 01:39:35 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-05-29 01:39:35 +0900 |
| commit | e370764a46a658db81a4b0a5d766d22fbf7aad90 (patch) | |
| tree | 04331c56c3c6152e8d5ac124384d7a5df878a518 /.config/nvim/lua/vimrc | |
| parent | 065c22bf8c901b83ba18a75f85630a4852ca0ab7 (diff) | |
| download | dotfiles-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.lua | 5 |
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. |
