mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Only use indent-blankline on normal mode
In insert mode, it is distracting for editing.
This commit is contained in:
parent
3ce1d8cc82
commit
0477364023
@ -5,3 +5,11 @@ require("indent_blankline").setup {
|
||||
buftype_exclude = {"terminal"},
|
||||
filetype_exclude = { "help", "startify", "git", "markdown" },
|
||||
}
|
||||
|
||||
vim.cmd[[
|
||||
augroup indent_blankline
|
||||
autocmd!
|
||||
autocmd InsertEnter * IndentBlanklineDisable
|
||||
autocmd InsertLeave * IndentBlanklineEnable
|
||||
augroup END
|
||||
]]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user