Skip to content

Commit

Permalink
fix(indent): use space instead of full blank for indent offset. See #313
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 16, 2024
1 parent 188b043 commit 58081bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/snacks/indent.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 58081bc

Please sign in to comment.