diff options
author | 2012-10-06 23:42:31 -0400 | |
---|---|---|
committer | 2012-10-06 23:42:31 -0400 | |
commit | 3324d1eb5ae28647414b553e73a9537cd0806006 (patch) | |
tree | 1b23ca8e71015de4e59574f846350f7969a0a85a /modules/lua | |
parent | 65452e57c4fe6cb69184f0b783d9554ae72ea6b7 (diff) | |
download | textadept-3324d1eb5ae28647414b553e73a9537cd0806006.tar.gz textadept-3324d1eb5ae28647414b553e73a9537cd0806006.zip |
Fixed more bugs introduced by r1260.
Diffstat (limited to 'modules/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 7d00a030..3e5038ca 100644 --- a/modules/lua/init.lua +++ b/modules/lua/init.lua @@ -122,7 +122,7 @@ function M.try_to_autocomplete_end() buffer:new_line() buffer:new_line() buffer:add_text(patt:find('repeat') and 'until' or 'end') - line_indentation[line_num + 1] = indent + buffer.indent + line_indentation[line_num + 1] = indent + buffer.tab_width buffer:line_up() buffer:line_end() buffer:end_undo_action() |