diff options
author | 2015-10-20 22:19:31 -0400 | |
---|---|---|
committer | 2015-10-20 22:19:31 -0400 | |
commit | bf3ee302aa1298a975bdb4e6b2cddb49ed99cd04 (patch) | |
tree | 7c49a7e0b243546e212a1ea7037bca5d4b5d5be1 | |
parent | 979a9e51a339098d1554cc82987afcab7cdf30a7 (diff) | |
download | textadept-bf3ee302aa1298a975bdb4e6b2cddb49ed99cd04.tar.gz textadept-bf3ee302aa1298a975bdb4e6b2cddb49ed99cd04.zip |
Tabbing through a choice should autocomplete it; modules/textadept/snippets.lua
-rw-r--r-- | modules/textadept/snippets.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/textadept/snippets.lua b/modules/textadept/snippets.lua index 3c2fb381..e723f712 100644 --- a/modules/textadept/snippets.lua +++ b/modules/textadept/snippets.lua @@ -367,6 +367,7 @@ M._snippet_mt = { -- Jumps to the next placeholder in this snippet and adds additional carets -- at mirrors. next = function(self) + if buffer:auto_c_active() then buffer:auto_c_complete() end -- Take a snapshot of the current state in order to restore it later if -- necessary. if self.index > 0 then |