diff --git a/lua/epo/init.lua b/lua/epo/init.lua index 0793bcf..63a24d4 100644 --- a/lua/epo/init.lua +++ b/lua/epo/init.lua @@ -215,7 +215,7 @@ local function complete_ondone(bufnr) -- asume they are paired if (prevchar == '[' and nextchar == ']' and newText:find(']')) - or (prevchar == '"' and nextchar == '"' and newText:find('"')) + or (nextchar == '"' and newText:find('"')) then extra = 1 end