diff options
| author | jdhao <jdhao@hotmail.com> | 2021-11-06 13:09:50 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-11-06 13:09:50 +0800 |
| commit | 538afe2fc65f4c56d62f8eb8bcb0a03e1c53dc32 (patch) | |
| tree | 1765dbfe0ce06a7b5663db623f8521957d1150f9 | |
| parent | bec5f117532f9d836a97e9863ffbf1f6869ec585 (diff) | |
update indent-blankline conf
| -rw-r--r-- | lua/config/indent-blankline.lua | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/lua/config/indent-blankline.lua b/lua/config/indent-blankline.lua index 245b326..6b133e5 100644 --- a/lua/config/indent-blankline.lua +++ b/lua/config/indent-blankline.lua @@ -1,16 +1,17 @@ -require("indent_blankline").setup { - -- U+2502 may also be a good choice, it will be on the middle of cursor. - char = "▏", - show_end_of_line = false, - disable_with_nolist = true, - buftype_exclude = {"terminal"}, - filetype_exclude = { "help", "git", "markdown", "snippets", "text" }, -} +require("indent_blankline").setup({ + -- U+2502 may also be a good choice, it will be on the middle of cursor. + -- U+250A is also a good choice + char = "▏", + show_end_of_line = false, + disable_with_nolist = true, + buftype_exclude = { "terminal" }, + filetype_exclude = { "help", "git", "markdown", "snippets", "text", "gitconfig" }, +}) -vim.cmd[[ +vim.cmd([[ augroup indent_blankline autocmd! autocmd InsertEnter * IndentBlanklineDisable autocmd InsertLeave * IndentBlanklineEnable augroup END -]] +]]) |
