mirror of
https://github.com/atom/atom.git
synced 2026-01-26 15:28:27 -05:00
Add specs, clean up whitespace.
This commit is contained in:
@@ -355,7 +355,7 @@ class TreeSitterLanguageMode {
|
||||
const searchEndIndex = Math.max(0, endIndex - 1)
|
||||
|
||||
const matches = matcherForSelector(selector)
|
||||
|
||||
|
||||
let smallestNode
|
||||
this._forEachTreeWithRange(range, tree => {
|
||||
let node = tree.rootNode.descendantForIndex(startIndex, searchEndIndex)
|
||||
|
||||
Reference in New Issue
Block a user