cursorless
cursorless copied to clipboard
Only run requested scope in Tree sitter
Today we run all defined scopes/captures from a single language in Tree sitter at once. We could increase performance if we just ran the scope/captures actually needed.
https://github.com/cursorless-dev/cursorless/blob/181cd9f5c2a47c460de01a7102bf89ee9d964d5a/packages/cursorless-engine/src/languages/LanguageDefinition.ts#L62-L64