aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/term.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-09-16 20:49:23 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-09-16 20:49:23 -0400
commitdbef5c3fa8ca9f842f75a6db1f0aa0fb029a4be6 (patch)
treec215e7a3ae04be1343820a2577543f8154c28580 /themes/term.lua
parent9ccea9e562699b45ba830b8b1355571061580386 (diff)
Moved custom markers and indicators into themes and added more properties.
Diffstat (limited to 'themes/term.lua')
-rw-r--r--themes/term.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/term.lua b/themes/term.lua
index 9f530723..bccd2686 100644
--- a/themes/term.lua
+++ b/themes/term.lua
@@ -73,5 +73,14 @@ property['style.whitespace'] = ''
--buffer:set_fold_margin_colour(true, property_int['color.white'])
--buffer:set_fold_margin_hi_colour(true, property_int['color.white'])
+-- Markers.
+local MARK_BOOKMARK = textadept.bookmarks.MARK_BOOKMARK
+buffer.marker_back[MARK_BOOKMARK] = property_int['color.blue']
+buffer.marker_back[textadept.run.MARK_ERROR] = property_int['color.red']
+
+-- Indicators.
+local INDIC_HIGHLIGHT = textadept.editing.INDIC_HIGHLIGHT
+buffer.indic_fore[INDIC_HIGHLIGHT] = property_int['color.yellow']
+
-- Long Lines.
buffer.edge_colour = property_int['color.white']