mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
update indent-blankline conf
This commit is contained in:
parent
bec5f11753
commit
538afe2fc6
@ -1,16 +1,17 @@
|
|||||||
require("indent_blankline").setup {
|
require("indent_blankline").setup({
|
||||||
-- U+2502 may also be a good choice, it will be on the middle of cursor.
|
-- U+2502 may also be a good choice, it will be on the middle of cursor.
|
||||||
|
-- U+250A is also a good choice
|
||||||
char = "▏",
|
char = "▏",
|
||||||
show_end_of_line = false,
|
show_end_of_line = false,
|
||||||
disable_with_nolist = true,
|
disable_with_nolist = true,
|
||||||
buftype_exclude = {"terminal"},
|
buftype_exclude = { "terminal" },
|
||||||
filetype_exclude = { "help", "git", "markdown", "snippets", "text" },
|
filetype_exclude = { "help", "git", "markdown", "snippets", "text", "gitconfig" },
|
||||||
}
|
})
|
||||||
|
|
||||||
vim.cmd[[
|
vim.cmd([[
|
||||||
augroup indent_blankline
|
augroup indent_blankline
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd InsertEnter * IndentBlanklineDisable
|
autocmd InsertEnter * IndentBlanklineDisable
|
||||||
autocmd InsertLeave * IndentBlanklineEnable
|
autocmd InsertLeave * IndentBlanklineEnable
|
||||||
augroup END
|
augroup END
|
||||||
]]
|
]])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user