Skip to content

Update for Zed 0.127.3#2

Merged
hasit merged 5 commits intohasit:mainfrom
piechologist:main
Mar 24, 2024
Merged

Update for Zed 0.127.3#2
hasit merged 5 commits intohasit:mainfrom
piechologist:main

Conversation

@piechologist
Copy link
Copy Markdown
Contributor

The tree-sitter code in the newest stable Zed version 0.127.3 has been updated and resolves some issues in the syntax tree and the fish grammar is parsed correctly.

This PR removes the workarounds for the old issues in highlights.scm and thus makes the queries terse and much cleaner.

Also, I changed a few syntax tokens to match the ones of Zed's bash highlighting.

piechologist and others added 5 commits March 8, 2024 23:10
1. Highlight the file in redirections.
2. Be more specific when highlighting certain keywords.
3. Switch to a better syntax token for command options.
(that's also used in Zed's bash highlighting)
…Zed 0.127.3:

- remove the workarounds
- allow matching operators in `test` and `[` commands again
- use @Embedded for command substitutions as the bash extension does
@hasit hasit merged commit d686a8c into hasit:main Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants