mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
lint
This commit is contained in:
@@ -1294,7 +1294,10 @@ class LayerHighlightIterator {
|
||||
const scopeName = applyLeafRules(value, this.treeCursor);
|
||||
const node = this.treeCursor.currentNode;
|
||||
if (!node.childCount) {
|
||||
return this.languageLayer.languageMode.grammar.idForScope(scopeName, node.text);
|
||||
return this.languageLayer.languageMode.grammar.idForScope(
|
||||
scopeName,
|
||||
node.text
|
||||
);
|
||||
} else if (scopeName) {
|
||||
return this.languageLayer.languageMode.grammar.idForScope(scopeName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user