diff options
author | 2015-09-18 21:41:26 -0400 | |
---|---|---|
committer | 2015-09-18 21:41:26 -0400 | |
commit | f1c197995bf34b604df0bfe17c71bcf352a91d83 (patch) | |
tree | 354250cde6874120c6cd6fc7c8e7288d6c84b723 /properties.lua | |
parent | 56dc0a689aaa9a7d054448c732c31bf57f640aaf (diff) | |
download | textadept-f1c197995bf34b604df0bfe17c71bcf352a91d83.tar.gz textadept-f1c197995bf34b604df0bfe17c71bcf352a91d83.zip |
Refactored snippets to use indicators instead of ugly placeholder text.
Diffstat (limited to 'properties.lua')
-rw-r--r-- | properties.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/properties.lua b/properties.lua index c534b57b..a4f481d8 100644 --- a/properties.lua +++ b/properties.lua @@ -131,6 +131,9 @@ buffer:brace_highlight_indicator(not CURSES, INDIC_BRACEMATCH) local INDIC_HIGHLIGHT = textadept.editing.INDIC_HIGHLIGHT buffer.indic_style[INDIC_HIGHLIGHT] = buffer.INDIC_ROUNDBOX if not CURSES then buffer.indic_under[INDIC_HIGHLIGHT] = true end +local INDIC_PLACEHOLDER = textadept.snippets.INDIC_PLACEHOLDER +buffer.indic_style[INDIC_PLACEHOLDER] = not CURSES and buffer.INDIC_DOTBOX or + buffer.INDIC_STRAIGHTBOX -- Autocompletion. --buffer.auto_c_separator = |