Merge pull request #15968 from Ingramz/patch-3

Remove unused argument
This commit is contained in:
Wliu
2017-10-23 09:54:08 +02:00
committed by GitHub

View File

@@ -288,7 +288,7 @@ export default class TextEditorRegistry {
let currentScore = this.editorGrammarScores.get(editor)
if (currentScore == null || score > currentScore) {
editor.setGrammar(grammar, score)
editor.setGrammar(grammar)
this.editorGrammarScores.set(editor, score)
}
}