-
-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tree-sitter rolling fixes: 1.121 edition #1085
Commits on Aug 17, 2024
-
Move indentation-related tasks to their own class…
…and out of `WASMTreeSitterLanguageMode` for reasons of encapsulation.
Configuration menu - View commit details
-
Copy full SHA for 4a701e2 - Browse repository at this point
Copy the full SHA 4a701e2View commit details -
[language-css] Bump
tree-sitter-css
to0.21.1
Fixes issue with parsing of selectors in `:has`, `:is`, and other pseudoclasses.
Configuration menu - View commit details
-
Copy full SHA for 338f688 - Browse repository at this point
Copy the full SHA 338f688View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74ef36a - Browse repository at this point
Copy the full SHA 74ef36aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eee25f - Browse repository at this point
Copy the full SHA 6eee25fView commit details
Commits on Aug 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c5f87a6 - Browse repository at this point
Copy the full SHA c5f87a6View commit details
Commits on Aug 24, 2024
-
Add comments and make further indentation tweaks…
…including more consistent firing of the `did-suggest-indent` event.
Configuration menu - View commit details
-
Copy full SHA for 3834c3f - Browse repository at this point
Copy the full SHA 3834c3fView commit details -
…and fix a bug with the indentation reparse budget.
Configuration menu - View commit details
-
Copy full SHA for 50dbbd1 - Browse repository at this point
Copy the full SHA 50dbbd1View commit details
Commits on Aug 27, 2024
-
[language-php] Handle case-insensitive constants like
TRUE
/FALSE
……as booleans. Handle `NULL` in a similar way.
Configuration menu - View commit details
-
Copy full SHA for 738536f - Browse repository at this point
Copy the full SHA 738536fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02f1563 - Browse repository at this point
Copy the full SHA 02f1563View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9db65c0 - Browse repository at this point
Copy the full SHA 9db65c0View commit details
Commits on Sep 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 26be874 - Browse repository at this point
Copy the full SHA 26be874View commit details
Commits on Sep 7, 2024
-
Upgrade
web-tree-sitter
to 0.23.0……and update our API usages. Tree-sitter harmonized the API differences between `web-tree-sitter` and `node-tree-sitter` in version 0.22.0. This is the first time we’ve had to deal with that. Luckily, the changes were mostly palatable. The biggest API difference is in `Query#captures`; two positional arguments for defining the extent of the query have been moved to keyword arguments. We’ve updated our internal usages, but any community packages that relied on the old function signature would break if we didn’t do anything about it. So we’ve wrapped the `Query#captures` method in one of our own; it detects usages that expect the old signature and rearranges their arguments, issuing a deprecation warning in the process. Hopefully this generates enough noise that any such packages understand what’s going on and can update. Other API changes are more obscure — which is good, because we can’t wrap them the way we wrapped `Query#captures`. They involve conversion of functions to getters (`node.hasErrors` instead of `node.hasErrors()`), and there’s no good way to make both usages work… short of wrapping nodes in `Proxy` objects, and that’s not on the table. Since lots has changed in `tree-sitter` since we last upgraded `web-tree-sitter`, I updated our documentation about building a custom version of `web-tree-sitter`.
Configuration menu - View commit details
-
Copy full SHA for 87a9322 - Browse repository at this point
Copy the full SHA 87a9322View commit details
Commits on Sep 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f64b44f - Browse repository at this point
Copy the full SHA f64b44fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d433753 - Browse repository at this point
Copy the full SHA d433753View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d696a7 - Browse repository at this point
Copy the full SHA 4d696a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72b1a6e - Browse repository at this point
Copy the full SHA 72b1a6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c674d8f - Browse repository at this point
Copy the full SHA c674d8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 265d7e0 - Browse repository at this point
Copy the full SHA 265d7e0View commit details -
coverShallowerScopes
shouldn't affect “sibling” injections……only injections with a shallower depth.
Configuration menu - View commit details
-
Copy full SHA for fbdf18a - Browse repository at this point
Copy the full SHA fbdf18aView commit details
Commits on Sep 9, 2024
-
[language-(java|type)script]: Update Tree-sitter parsers to 0.23.0…
…and modify query files in response to all non–backwards-compatible changes.
Configuration menu - View commit details
-
Copy full SHA for 03ba902 - Browse repository at this point
Copy the full SHA 03ba902View commit details
Commits on Sep 10, 2024
-
[symbol-provider-tree-sitter] Fix specs…
…after `tree-sitter-javascript` bump.
Configuration menu - View commit details
-
Copy full SHA for 44ad31f - Browse repository at this point
Copy the full SHA 44ad31fView commit details -
[language-(java|type)script] Update injections…
…to conform to new `tree-sitter-(java|type)script` node structure for template strings.
Configuration menu - View commit details
-
Copy full SHA for cdad4ff - Browse repository at this point
Copy the full SHA cdad4ffView commit details -
[language-gfm] Migrate to
tree-sitter-markdown
……at new repo location.
Configuration menu - View commit details
-
Copy full SHA for 44d7734 - Browse repository at this point
Copy the full SHA 44d7734View commit details
Commits on Sep 14, 2024
-
[language-html] Update to latest Tree-sitter parsers…
…for `tree-sitter-html` and `tree-sitter-embedded-template`. Fixed an inscrutable out-of-memory error I was getting in an EJS file.
Configuration menu - View commit details
-
Copy full SHA for 0f0050f - Browse repository at this point
Copy the full SHA 0f0050fView commit details -
Prevent race condition during startup…
…related to updating open documents’ syntax highlighting as grammars are processed.
Configuration menu - View commit details
-
Copy full SHA for 99521c7 - Browse repository at this point
Copy the full SHA 99521c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 986c697 - Browse repository at this point
Copy the full SHA 986c697View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74479ba - Browse repository at this point
Copy the full SHA 74479baView commit details
Commits on Sep 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c1d3a8c - Browse repository at this point
Copy the full SHA c1d3a8cView commit details