Files
neovim-config/lua/taken/plugins/indent-blankline.lua
2025-08-26 11:46:42 +02:00

32 lines
793 B
Lua

--- @type LazyPluginSpec
return {
"lukas-reineke/indent-blankline.nvim",
main = "ibl",
event = { "BufReadPre", "BufNewFile" },
config = function()
local blankline = require("ibl")
local hooks = require("ibl.hooks")
vim.opt.list = true
vim.opt.listchars:append("space:⋅")
local highlight = {
"CursorColumn",
"Whitespace",
}
blankline.setup({
scope = {
enabled = false,
char = "",
show_exact_scope = true,
},
indent = { highlight = highlight, char = "" },
whitespace = {
highlight = highlight,
remove_blankline_trail = false,
},
})
end,
}