Skip to content
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

Unfreeze Git grammars #168698

Closed
wants to merge 1 commit into from
Closed

Conversation

walles
Copy link
Contributor

@walles walles commented Dec 10, 2022

Before this change, editing the Git grammars required making PRs to https://github.com/textmate/git.tmbundle and then importing the new grammars in here.

However, that upstream repo is dead:

With this change in place, it is now possible to make PRs to improve Git grammars, to solve problems like this one for example: #133888

Before this change, editing the Git grammars required making PRs to
https://github.com/textmate/git.tmbundle and then importing the new
grammars in here.

However, that upstream repo is dead:
* No changes since 2019: https://github.com/textmate/git.tmbundle/commits/master
* Upstream test suite requires ruby 1.8.7, which is EOL since 2014:
  textmate/git.tmbundle#59

With this change in place, it is now possible to make PRs to improve Git
grammars, to solve problems like this one for example:
microsoft#133888
@walles

This comment was marked as outdated.

@walles
Copy link
Contributor Author

walles commented Dec 10, 2022

@microsoft-github-policy-service agree

@walles walles marked this pull request as ready for review December 10, 2022 07:58
@lszomoru
Copy link
Member

Adding @alexr00 as she manages the grammars that are included in VS Code.

@alexr00
Copy link
Member

alexr00 commented Jan 3, 2023

@walles thank you for the PR. We on the VS Code team are not grammar experts, so we depend on other OSS projects to get our syntax highlighting grammars. Rather than allowing changes to the git grammar in this repo, I would prefer to find a different OSS project to depend on for our git grammars. We've done this several times in the last couple years (C++ and Razor come to mind) and I'd be happy to do the same for git if we can find an OSS project with a good track record.

@alexr00 alexr00 closed this Jan 3, 2023
@walles
Copy link
Contributor Author

walles commented Feb 2, 2023

Take two: #173195

Now with a new upstream project with a runnable + passing test suite.

@github-actions github-actions bot locked and limited conversation to collaborators Feb 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants