diff options
Diffstat (limited to 'lua/config/indent-blankline.lua')
| -rw-r--r-- | lua/config/indent-blankline.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lua/config/indent-blankline.lua b/lua/config/indent-blankline.lua index 597b508..3c4a33d 100644 --- a/lua/config/indent-blankline.lua +++ b/lua/config/indent-blankline.lua @@ -1,7 +1,7 @@ local api = vim.api local exclude_ft = { "help", "git", "markdown", "snippets", "text", "gitconfig", "alpha" } -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+250A is also a good choice char = "▏", @@ -9,13 +9,13 @@ require("indent_blankline").setup({ disable_with_nolist = true, buftype_exclude = { "terminal" }, filetype_exclude = exclude_ft, -}) +} local gid = api.nvim_create_augroup("indent_blankline", { clear = true }) api.nvim_create_autocmd("InsertEnter", { pattern = "*", group = gid, - command = "IndentBlanklineDisable" + command = "IndentBlanklineDisable", }) api.nvim_create_autocmd("InsertLeave", { @@ -23,7 +23,7 @@ api.nvim_create_autocmd("InsertLeave", { group = gid, callback = function() if not vim.tbl_contains(exclude_ft, vim.bo.filetype) then - vim.cmd [[IndentBlanklineEnable]] + vim.cmd([[IndentBlanklineEnable]]) end - end + end, }) |
