From 2052c77111051972d8171d27c8d4c501803e70d6 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 24 Aug 2013 14:26:24 -0400 Subject: Include Scintilla constants in `buffer`s. --- modules/textadept/snippets.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/snippets.lua') diff --git a/modules/textadept/snippets.lua b/modules/textadept/snippets.lua index 9c873297..e25f7a81 100644 --- a/modules/textadept/snippets.lua +++ b/modules/textadept/snippets.lua @@ -368,7 +368,7 @@ M._snippet_mt = { end, } -local INDIC_HIDDEN = _SCINTILLA.constants.INDIC_HIDDEN +local INDIC_HIDDEN = buffer.INDIC_HIDDEN if buffer then buffer.indic_style[INDIC_SNIPPET] = INDIC_HIDDEN end events.connect(events.VIEW_NEW, function() buffer.indic_style[INDIC_SNIPPET] = INDIC_HIDDEN end) -- cgit v1.2.3