Skip to content

Commit

Permalink
fix(plugin): update to latest ibl
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Nehrig <[email protected]>
  • Loading branch information
danielnehrig committed Oct 21, 2023
1 parent bf8065f commit 23416a6
Showing 1 changed file with 24 additions and 26 deletions.
50 changes: 24 additions & 26 deletions lua/config/plugins/configs/indent-blankline/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,35 @@
local M = {}

function M.init()
local present, blank = pcall(require, "indent_blankline")
local present, blank = pcall(require, "ibl")
if not present then
return
end
blank.setup({
indentLine_enabled = 1,
char = "",
filetype_exclude = {
"help",
"terminal",
"dashboard",
"alpha",
"lazy",
"NvimTree",
"packer",
"noice",
"notify",
"lspinfo",
"TelescopePrompt",
"OverseerForm",
"TelescopeResults",
"lsp-installer",
"",
enabled = true,
scope = {
char = "",
},
exclude = {
filetypes = {
"help",
"terminal",
"dashboard",
"alpha",
"lazy",
"NvimTree",
"packer",
"noice",
"notify",
"lspinfo",
"TelescopePrompt",
"OverseerForm",
"TelescopeResults",
"lsp-installer",
"",
},
buftypes = { "terminal", "dashboard", "notify" },
},
buftype_exclude = { "terminal", "dashboard", "notify" },
show_first_indent_level = true,
show_current_context = true,
use_treesitter = true,
space_char_blankline = " ",
show_end_of_line = true,
show_trailing_blankline_indent = true,
})
end

Expand Down

0 comments on commit 23416a6

Please sign in to comment.