-
-
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 fixes for December (including a PHP grammar!) #852
Tree-sitter fixes for December (including a PHP grammar!) #852
Commits on Jan 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a8f5b17 - Browse repository at this point
Copy the full SHA a8f5b17View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1e9fa0 - Browse repository at this point
Copy the full SHA a1e9fa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for daf0637 - Browse repository at this point
Copy the full SHA daf0637View commit details -
Configuration menu - View commit details
-
Copy full SHA for 818d204 - Browse repository at this point
Copy the full SHA 818d204View commit details -
* Show `def self.foo` methods as `self.foo` in the symbols list. * Highlight the `foo` in `def self.foo` as a method name. * Properly highlight `..` and `...` range operators. * Highlight keyword parameters as `variable.parameter.keyword`.
Configuration menu - View commit details
-
Copy full SHA for 037377a - Browse repository at this point
Copy the full SHA 037377aView commit details -
[tree-sitter] Fix indentation hinting at the edges of injections
When the cursor is placed right where an injection _starts_, and the user presses Return, we usually shouldn't use the injection layer for hinting.
Configuration menu - View commit details
-
Copy full SHA for 1ed79e2 - Browse repository at this point
Copy the full SHA 1ed79e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdc70fc - Browse repository at this point
Copy the full SHA fdc70fcView commit details -
Allow
suggestedIndentForBufferRows
to work correctly……when auto-indenting the entire buffer.
Configuration menu - View commit details
-
Copy full SHA for 20a64bd - Browse repository at this point
Copy the full SHA 20a64bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for be37b26 - Browse repository at this point
Copy the full SHA be37b26View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6bb61f - Browse repository at this point
Copy the full SHA f6bb61fView commit details -
Configuration menu - View commit details
-
Copy full SHA for da10036 - Browse repository at this point
Copy the full SHA da10036View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc55c4f - Browse repository at this point
Copy the full SHA bc55c4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b4a50d - Browse repository at this point
Copy the full SHA 7b4a50dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 66aea45 - Browse repository at this point
Copy the full SHA 66aea45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 294134c - Browse repository at this point
Copy the full SHA 294134cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee54d37 - Browse repository at this point
Copy the full SHA ee54d37View commit details -
Add a modern Tree-sitter PHP grammar
This one’s got all the frills, including injections into HTML documents and a PHPDoc grammar. As part of this change, we're also migrating to `web-tree-sitter` version 0.20.8 with some customizations. The PR I submitted at tree-sitter/tree-sitter#2795 is landed on this fork, though if the same issues get fixed in a different way on the source, I'll adopt that approach as well. The PHPDoc parser needed another external added.
Configuration menu - View commit details
-
Copy full SHA for d6f8a3c - Browse repository at this point
Copy the full SHA d6f8a3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00de52c - Browse repository at this point
Copy the full SHA 00de52cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dc1536 - Browse repository at this point
Copy the full SHA 1dc1536View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fd47f5 - Browse repository at this point
Copy the full SHA 0fd47f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee3f41e - Browse repository at this point
Copy the full SHA ee3f41eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a4b2dc - Browse repository at this point
Copy the full SHA 3a4b2dcView commit details -
[tree-sitter] TS: Treat parameters with defaults like parameters…
…plus a few other TypeScript fixes.
Configuration menu - View commit details
-
Copy full SHA for 8ae599f - Browse repository at this point
Copy the full SHA 8ae599fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6d88a5 - Browse repository at this point
Copy the full SHA b6d88a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18788c0 - Browse repository at this point
Copy the full SHA 18788c0View commit details -
Apply PHPDoc learnings to JSDoc
The conventions I had in place for various JSDoc constructs didn't make any sense. They're fixed now.
Configuration menu - View commit details
-
Copy full SHA for f6e1a22 - Browse repository at this point
Copy the full SHA f6e1a22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e62e20 - Browse repository at this point
Copy the full SHA 5e62e20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0807dcf - Browse repository at this point
Copy the full SHA 0807dcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for bbf4cb4 - Browse repository at this point
Copy the full SHA bbf4cb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 351493f - Browse repository at this point
Copy the full SHA 351493fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf039cc - Browse repository at this point
Copy the full SHA bf039ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for ebd0ae0 - Browse repository at this point
Copy the full SHA ebd0ae0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2da555 - Browse repository at this point
Copy the full SHA e2da555View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70b34cd - Browse repository at this point
Copy the full SHA 70b34cdView commit details -
Allow
(#set! capture.final)
as shorthand……instead of making grammars specify `(#set! capture.final true)`.
Configuration menu - View commit details
-
Copy full SHA for a40bae4 - Browse repository at this point
Copy the full SHA a40bae4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30f696f - Browse repository at this point
Copy the full SHA 30f696fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9db2ace - Browse repository at this point
Copy the full SHA 9db2aceView commit details -
[tree-sitter] Fix indentation hinting at the edges of injections
When the cursor is placed right where an injection _starts_, and the user presses Return, we usually shouldn't use the injection layer for hinting.
Configuration menu - View commit details
-
Copy full SHA for 0e8fe9b - Browse repository at this point
Copy the full SHA 0e8fe9bView commit details -
Allow
suggestedIndentForBufferRows
to work correctly……when auto-indenting the entire buffer.
Configuration menu - View commit details
-
Copy full SHA for a42d0ed - Browse repository at this point
Copy the full SHA a42d0edView commit details -
Configuration menu - View commit details
-
Copy full SHA for d32bdf6 - Browse repository at this point
Copy the full SHA d32bdf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9f6946 - Browse repository at this point
Copy the full SHA d9f6946View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b51a77 - Browse repository at this point
Copy the full SHA 0b51a77View commit details -
Configuration menu - View commit details
-
Copy full SHA for aef7c84 - Browse repository at this point
Copy the full SHA aef7c84View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7dc654 - Browse repository at this point
Copy the full SHA b7dc654View commit details -
Add a modern Tree-sitter PHP grammar
This one’s got all the frills, including injections into HTML documents and a PHPDoc grammar. As part of this change, we're also migrating to `web-tree-sitter` version 0.20.8 with some customizations. The PR I submitted at tree-sitter/tree-sitter#2795 is landed on this fork, though if the same issues get fixed in a different way on the source, I'll adopt that approach as well. The PHPDoc parser needed another external added.
Configuration menu - View commit details
-
Copy full SHA for d148a73 - Browse repository at this point
Copy the full SHA d148a73View commit details -
Configuration menu - View commit details
-
Copy full SHA for c93bdeb - Browse repository at this point
Copy the full SHA c93bdebView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad8a215 - Browse repository at this point
Copy the full SHA ad8a215View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58b9cc1 - Browse repository at this point
Copy the full SHA 58b9cc1View commit details -
[tree-sitter] TS: Treat parameters with defaults like parameters…
…plus a few other TypeScript fixes.
Configuration menu - View commit details
-
Copy full SHA for 8c946a0 - Browse repository at this point
Copy the full SHA 8c946a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2dabe5 - Browse repository at this point
Copy the full SHA f2dabe5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2580642 - Browse repository at this point
Copy the full SHA 2580642View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8836be7 - Browse repository at this point
Copy the full SHA 8836be7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b08306 - Browse repository at this point
Copy the full SHA 0b08306View commit details -
Configuration menu - View commit details
-
Copy full SHA for 336f609 - Browse repository at this point
Copy the full SHA 336f609View commit details -
Configuration menu - View commit details
-
Copy full SHA for c50b0e6 - Browse repository at this point
Copy the full SHA c50b0e6View commit details -
Ensure indentation decisions consult the correct layers…
…when straddling injection boundaries.
Configuration menu - View commit details
-
Copy full SHA for 4c6b0ba - Browse repository at this point
Copy the full SHA 4c6b0baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 254440e - Browse repository at this point
Copy the full SHA 254440eView commit details -
Update
tree-sitter-json
WASM build to latestSpotted it falling down on a very large JSON file I had. Seems to be fixed on `master`. Not sure which verison I originally built it from.
Configuration menu - View commit details
-
Copy full SHA for 50bfa51 - Browse repository at this point
Copy the full SHA 50bfa51View commit details
Commits on Jan 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 865153b - Browse repository at this point
Copy the full SHA 865153bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ddfa645 - Browse repository at this point
Copy the full SHA ddfa645View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9972245 - Browse repository at this point
Copy the full SHA 9972245View commit details -
In JS/TS, correctly highlight a variable with a default value…
…when destructuring an array.
Configuration menu - View commit details
-
Copy full SHA for a34b01b - Browse repository at this point
Copy the full SHA a34b01bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e78feea - Browse repository at this point
Copy the full SHA e78feeaView commit details
Commits on Jan 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 62bd6cc - Browse repository at this point
Copy the full SHA 62bd6ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3be33b - Browse repository at this point
Copy the full SHA f3be33bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bae3689 - Browse repository at this point
Copy the full SHA bae3689View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ebdfa0 - Browse repository at this point
Copy the full SHA 6ebdfa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0111e13 - Browse repository at this point
Copy the full SHA 0111e13View commit details