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. --- properties.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'properties.lua') 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 = -- cgit v1.2.3