From f1c197995bf34b604df0bfe17c71bcf352a91d83 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 18 Sep 2015 21:41:26 -0400 Subject: Refactored snippets to use indicators instead of ugly placeholder text. --- themes/dark.lua | 2 ++ themes/light.lua | 2 ++ themes/term.lua | 2 ++ 3 files changed, 6 insertions(+) (limited to 'themes') diff --git a/themes/dark.lua b/themes/dark.lua index 84c25c64..eee87d7a 100644 --- a/themes/dark.lua +++ b/themes/dark.lua @@ -126,6 +126,8 @@ buffer.indic_fore[INDIC_BRACEMATCH] = property_int['color.light_grey'] local INDIC_HIGHLIGHT = textadept.editing.INDIC_HIGHLIGHT buffer.indic_fore[INDIC_HIGHLIGHT] = property_int['color.orange'] buffer.indic_alpha[INDIC_HIGHLIGHT] = 255 +local INDIC_PLACEHOLDER = textadept.snippets.INDIC_PLACEHOLDER +buffer.indic_fore[INDIC_PLACEHOLDER] = property_int['color.grey'] -- Call tips. --buffer.call_tip_fore_hlt = property_int['color.light_blue'] diff --git a/themes/light.lua b/themes/light.lua index ac45310c..3630b3b9 100644 --- a/themes/light.lua +++ b/themes/light.lua @@ -126,6 +126,8 @@ buffer.indic_fore[INDIC_BRACEMATCH] = property_int['color.grey'] local INDIC_HIGHLIGHT = textadept.editing.INDIC_HIGHLIGHT buffer.indic_fore[INDIC_HIGHLIGHT] = property_int['color.orange'] buffer.indic_alpha[INDIC_HIGHLIGHT] = 255 +local INDIC_PLACEHOLDER = textadept.snippets.INDIC_PLACEHOLDER +buffer.indic_fore[INDIC_PLACEHOLDER] = property_int['color.grey_black'] -- Call tips. --buffer.call_tip_fore_hlt = property_int['color.light_blue'] diff --git a/themes/term.lua b/themes/term.lua index b99e870b..4cd440a0 100644 --- a/themes/term.lua +++ b/themes/term.lua @@ -79,6 +79,8 @@ buffer.marker_back[textadept.run.MARK_ERROR] = property_int['color.red'] buffer.indic_fore[ui.find.INDIC_FIND] = property_int['color.yellow'] local INDIC_HIGHLIGHT = textadept.editing.INDIC_HIGHLIGHT buffer.indic_fore[INDIC_HIGHLIGHT] = property_int['color.yellow'] +local INDIC_PLACEHOLDER = textadept.snippets.INDIC_PLACEHOLDER +buffer.indic_fore[INDIC_PLACEHOLDER] = property_int['color.magenta'] -- Call tips. --buffer.call_tip_fore_hlt = property_int['color.blue'] -- cgit v1.2.3