aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/snippets.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/snippets.lua')
-rw-r--r--modules/textadept/snippets.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/textadept/snippets.lua b/modules/textadept/snippets.lua
index 707ab7ca..73f46bde 100644
--- a/modules/textadept/snippets.lua
+++ b/modules/textadept/snippets.lua
@@ -653,8 +653,8 @@ events.connect(events.UPDATE_UI, function(updated)
end)
events.connect(events.VIEW_NEW, function()
- buffer.indic_style[INDIC_SNIPPET] = buffer.INDIC_HIDDEN
- buffer.indic_style[INDIC_CURRENTPLACEHOLDER] = buffer.INDIC_HIDDEN
+ view.indic_style[INDIC_SNIPPET] = view.INDIC_HIDDEN
+ view.indic_style[INDIC_CURRENTPLACEHOLDER] = view.INDIC_HIDDEN
end)
-- Returns for the word behind the caret a list of snippet trigger word