aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/dark.lua2
-rw-r--r--themes/light.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/dark.lua b/themes/dark.lua
index 1471fe90..d46655d5 100644
--- a/themes/dark.lua
+++ b/themes/dark.lua
@@ -113,7 +113,7 @@ buffer.marker_back[MARK_BOOKMARK] = property_int['color.dark_blue']
buffer.marker_back[textadept.run.MARK_WARNING] = property_int['color.yellow']
--buffer.marker_fore[textadept.run.MARK_ERROR] = property_int['color.black']
buffer.marker_back[textadept.run.MARK_ERROR] = property_int['color.red']
-for i = 25, 31 do -- fold margin markers
+for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin
buffer.marker_fore[i] = property_int['color.black']
buffer.marker_back[i] = property_int['color.dark_grey']
buffer.marker_back_selected[i] = property_int['color.light_grey']
diff --git a/themes/light.lua b/themes/light.lua
index aab37c73..48c3912a 100644
--- a/themes/light.lua
+++ b/themes/light.lua
@@ -113,7 +113,7 @@ buffer.marker_back[MARK_BOOKMARK] = property_int['color.dark_blue']
buffer.marker_back[t_run.MARK_WARNING] = property_int['color.light_yellow']
--buffer.marker_fore[t_run.MARK_ERROR] = property_int['color.white']
buffer.marker_back[t_run.MARK_ERROR] = property_int['color.light_red']
-for i = 25, 31 do -- fold margin markers
+for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin
buffer.marker_fore[i] = property_int['color.white']
buffer.marker_back[i] = property_int['color.grey']
buffer.marker_back_selected[i] = property_int['color.grey_black']