diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2015-09-18 21:41:26 -0400 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2015-09-18 21:41:26 -0400 |
commit | f1c197995bf34b604df0bfe17c71bcf352a91d83 (patch) | |
tree | 354250cde6874120c6cd6fc7c8e7288d6c84b723 /themes | |
parent | 56dc0a689aaa9a7d054448c732c31bf57f640aaf (diff) |
Refactored snippets to use indicators instead of ugly placeholder text.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/dark.lua | 2 | ||||
-rw-r--r-- | themes/light.lua | 2 | ||||
-rw-r--r-- | themes/term.lua | 2 |
3 files changed, 6 insertions, 0 deletions
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'] |