diff --git a/src/search/QuickOpen.js b/src/search/QuickOpen.js index 9a9f1806131..d57e3ccc58a 100644 --- a/src/search/QuickOpen.js +++ b/src/search/QuickOpen.js @@ -98,7 +98,7 @@ define(function (require, exports, module) { /** * Defines API for new QuickOpen plug-ins */ - function QuickOpenPlugin(name, languageIds, done, search, match, itemFocus, itemSelect, resultsFormatter) { + function QuickOpenPlugin(name, languageIds, done, search, match, itemFocus, itemSelect, resultsFormatter, matcherOptions) { this.name = name; this.languageIds = languageIds; this.done = done; @@ -107,6 +107,7 @@ define(function (require, exports, module) { this.itemFocus = itemFocus; this.itemSelect = itemSelect; this.resultsFormatter = resultsFormatter; + this.matcherOptions = matcherOptions; } /** @@ -120,6 +121,7 @@ define(function (require, exports, module) { * itemFocus: function(?SearchResult|string), * itemSelect: funciton(?SearchResult|string), * resultsFormatter: ?function(SearchResult|string, string):string + * matcherOptions: Object * } pluginDef * * Parameter Documentation: @@ -137,6 +139,8 @@ define(function (require, exports, module) { * The selected search result item (as returned by search()) is passed as an argument. * resultFormatter - takes a query string and an item string and returns * a