aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/mime_types.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-01-23 22:42:22 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2011-01-23 22:42:22 -0500
commit1c1e627ec05dd898bbd97f0e0cde055f34ff0f36 (patch)
tree0f94aa44466655579b53b2655d5bd4547b873607 /modules/textadept/mime_types.lua
parent335521e8f4f4c678906ad683f7d0a20fed6e47da (diff)
downloadtextadept-1c1e627ec05dd898bbd97f0e0cde055f34ff0f36.tar.gz
textadept-1c1e627ec05dd898bbd97f0e0cde055f34ff0f36.zip
Allow language-specific char_matches and braces for _m.textadept.editing.
Thanks to Robert Gieseke.
Diffstat (limited to 'modules/textadept/mime_types.lua')
-rw-r--r--modules/textadept/mime_types.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/mime_types.lua b/modules/textadept/mime_types.lua
index 496ff150..ff24602e 100644
--- a/modules/textadept/mime_types.lua
+++ b/modules/textadept/mime_types.lua
@@ -150,7 +150,7 @@ end
events.connect('buffer_new', function()
buffer.set_lexer, buffer.get_lexer = set_lexer, get_lexer
buffer.get_style_name = get_style_name
-end)
+end, 1)
-- Scintilla's first buffer doesn't have these.
if not RESETTING then
buffer.set_lexer, buffer.get_lexer = set_lexer, get_lexer