aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/editing.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/editing.lua')
-rw-r--r--modules/textadept/editing.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua
index 670eecec..36dee287 100644
--- a/modules/textadept/editing.lua
+++ b/modules/textadept/editing.lua
@@ -509,7 +509,6 @@ local function set_highlight_properties()
buffer.indic_alpha[INDIC_HIGHLIGHT] = 255
if not CURSES then buffer.indic_under[INDIC_HIGHLIGHT] = true end
end
-if buffer then set_highlight_properties() end
events.connect(events.VIEW_NEW, set_highlight_properties)
---