fix(indent): use space instead of full blank for indent offset. See #313

This commit is contained in:
Folke Lemaitre 2024-12-16 08:34:44 +01:00
parent 188b043705
commit 58081bcecb
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -174,7 +174,7 @@ local function get_extmark(indent, state)
if i >= offset then
text[#text + 1] = { config.indent.char, get_hl(i + hidden, config.indent.hl) }
else
text[#text + 1] = { blank, get_hl(i + hidden, config.blank.hl) }
text[#text + 1] = { space, get_hl(i + hidden, config.blank.hl) }
end
text[#text + 1] = { blank, get_hl(i + hidden, config.blank.hl) }
end