aboutsummaryrefslogtreecommitdiff
path: root/plugins/indentguide.lua
diff options
context:
space:
mode:
authorGuldoman <giulio.lettieri@gmail.com>2022-04-25 00:06:06 +0200
committerGuldoman <giulio.lettieri@gmail.com>2022-04-25 00:06:06 +0200
commit4d4e0b45b186bf18e36af6b18577c7569a01f9d4 (patch)
treec7eb14f6683536b6bf041b1eadce2201c3ae94cf /plugins/indentguide.lua
parent25b576f6ee81b6913cc772e1d7465d3648f5a23e (diff)
downloadlite-xl-plugins-4d4e0b45b186bf18e36af6b18577c7569a01f9d4.tar.gz
lite-xl-plugins-4d4e0b45b186bf18e36af6b18577c7569a01f9d4.zip
Allow customizing `indentguide` highlight color
Diffstat (limited to 'plugins/indentguide.lua')
-rw-r--r--plugins/indentguide.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/indentguide.lua b/plugins/indentguide.lua
index c7e781c..e564f71 100644
--- a/plugins/indentguide.lua
+++ b/plugins/indentguide.lua
@@ -114,7 +114,7 @@ function DocView:draw_line_text(idx, x, y)
local color = style.guide or style.selection
local active_lvl = self.lineguide_indent_active[idx] or -1
if i < active_lvl and i + indent_size >= active_lvl then
- color = style.accent
+ color = style.guide_highlight or style.accent
end
local sw = space_sz * i
renderer.draw_rect(math.ceil(x + sw), y, w, h, color)