association => associations

This commit is contained in:
Benjamin Pasero
2016-03-04 10:37:41 +01:00
parent 230b27e889
commit 932e8637c1
4 changed files with 8 additions and 8 deletions

View File

@@ -34,7 +34,7 @@ export class FileAssociationContribution implements IJSONWorkerContribution {
}
public collectPropertySuggestions(resource: string, location: JSONLocation, currentWord: string, addValue: boolean, isLast: boolean, result: ISuggestionsCollector): Thenable<any> {
if (this.isSettingsFile(resource) && location.matches(['files.association'])) {
if (this.isSettingsFile(resource) && location.matches(['files.associations'])) {
globProperties.forEach((e) => result.add(e));
}
@@ -42,7 +42,7 @@ export class FileAssociationContribution implements IJSONWorkerContribution {
}
public collectValueSuggestions(resource: string, location: JSONLocation, currentKey: string, result: ISuggestionsCollector): Thenable<any> {
if (this.isSettingsFile(resource) && location.matches(['files.association'])) {
if (this.isSettingsFile(resource) && location.matches(['files.associations'])) {
globValues.forEach((e) => result.add(e));
}