Remove unused argument

This commit is contained in:
Indrek Ardel
2017-10-23 04:11:23 +03:00
committed by GitHub
parent 43ec5193ff
commit 0511c0ae4a

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)
}
}