diff options
author | 2010-10-14 21:09:46 -0400 | |
---|---|---|
committer | 2010-10-14 21:09:46 -0400 | |
commit | 3aa3f9f30142ea40dc20cb0aba462fdc5ac0da64 (patch) | |
tree | 4627624ca45905b494e212a74ca3f5f72de7248d /modules/textadept/mime_types.lua | |
parent | 8d29321eeba9f77dcd3aaaa9fd504d5f736463e7 (diff) | |
download | textadept-3aa3f9f30142ea40dc20cb0aba462fdc5ac0da64.tar.gz textadept-3aa3f9f30142ea40dc20cb0aba462fdc5ac0da64.zip |
Code formatting changes.
Diffstat (limited to 'modules/textadept/mime_types.lua')
-rw-r--r-- | modules/textadept/mime_types.lua | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/modules/textadept/mime_types.lua b/modules/textadept/mime_types.lua index 5d19228c..4908708f 100644 --- a/modules/textadept/mime_types.lua +++ b/modules/textadept/mime_types.lua @@ -282,15 +282,14 @@ events.connect('reset_after', -- Prompts the user to select a lexer from a filtered list for the current -- buffer. function select_lexer() - local out = - gui.dialog('filteredlist', - '--title', locale.MT_SELECT_LEXER, - '--button1', 'gtk-ok', - '--button2', 'gtk-cancel', - '--no-newline', - '--string-output', - '--columns', 'Name', - '--items', lexers) + local out = gui.dialog('filteredlist', + '--title', locale.MT_SELECT_LEXER, + '--button1', 'gtk-ok', + '--button2', 'gtk-cancel', + '--no-newline', + '--string-output', + '--columns', 'Name', + '--items', lexers) local response, lexer = out:match('([^\n]+)\n([^\n]+)$') if response and response ~= 'gtk-cancel' then buffer:set_lexer(lexer) end end |