Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move code out of closure in
getDocumentHighlights
, then again out o…
…f `getSemanticDocumentHighlights` and `getSyntacticDocumentHighlights`. Also return a `Node[]` instead of a `HighlightSpan[]` where possible and do mapping from Node to HighlightSpan in one place.
- Loading branch information