diff --git a/content/completion.js b/content/completion.js index 2d03a631..4a8f6dbf 100644 --- a/content/completion.js +++ b/content/completion.js @@ -292,7 +292,7 @@ liberator.Completion = function () //{{{ { case "(": /* Function call, or if/while/for/... */ - if (/\w\d$/.test(lastNonwhite)) + if (/[\w\d$]/.test(lastNonwhite)) { top[FUNCTIONS].push(i); top[STATEMENTS].pop();