diff options
author | 2011-06-23 22:35:20 -0400 | |
---|---|---|
committer | 2011-06-23 22:35:20 -0400 | |
commit | e22d2bf663a4cc4fbeed5730c8f0ec7a446e43c8 (patch) | |
tree | 76df894b4f5468c3d85d990129e1e13b890e4ea9 /modules/lua/init.lua | |
parent | 79a37f07e3f57694a436db9a25e296c8d177041a (diff) | |
download | textadept-e22d2bf663a4cc4fbeed5730c8f0ec7a446e43c8.tar.gz textadept-e22d2bf663a4cc4fbeed5730c8f0ec7a446e43c8.zip |
Use string constants for event names.
Diffstat (limited to 'modules/lua/init.lua')
-rw-r--r-- | modules/lua/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lua/init.lua b/modules/lua/init.lua index cca7e3cb..1e88e8c6 100644 --- a/modules/lua/init.lua +++ b/modules/lua/init.lua @@ -145,7 +145,7 @@ function goto_required() end end -events.connect('file_after_save', +events.connect(events.FILE_AFTER_SAVE, function() -- show syntax errors as annotations if buffer:get_lexer() == 'lua' then local buffer = buffer |