This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Update csharp.cson, fix converter paths #123
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of the Change
As you know, language-csharp grammar that is used by both Atom and Github comes from upstream. So this PR updates the grammar as there were a lot of fixes and improvements since the grammar was updated last time (dotnet/csharp-tmLanguage#114 dotnet/csharp-tmLanguage#132 dotnet/csharp-tmLanguage#113 etc.)
Python script from
scripts/
folder was used to keep PCRE support, it removed dashes from group names. Manual fixes were applied according to these commits: 3b93970 15df170 17f89b8 (GitHub highlighter needs them)Before
After
C# language syntax highlighting is improved and now supports
ref struct
,stackalloc
, etc.Possible Drawbacks
None.