diff --git a/lib/ace/mode/text.js b/lib/ace/mode/text.js index ee50d552..4b7312dc 100644 --- a/lib/ace/mode/text.js +++ b/lib/ace/mode/text.js @@ -359,9 +359,6 @@ var Mode = function() { this.getCompletions = function(state, session, pos, prefix) { var keywords = this.$keywordList || []; - keywords = keywords.filter(function(w) { - return w.lastIndexOf(prefix, 0) == 0; - }); return keywords.map(function(word) { return { name: word,