fix(indent): opts.indent.blank now defaults to listchars.space. Closes #291

This commit is contained in:
Folke Lemaitre 2024-12-14 15:29:06 +01:00
parent 7f668185ea
commit 31bc409342
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -14,7 +14,7 @@ local defaults = {
priority = 1,
enabled = true, -- enable indent guides
char = "",
blank = " ",
blank = vim.opt.listchars:get().space or " ",
-- blank = "∙",
only_scope = false, -- only show indent guides of the scope
only_current = false, -- only show indent guides in the current window