tree-sitter / tree-sitter-c-sharp

C# Grammar for tree-sitter
MIT License
188 stars 51 forks source link

Remove contextual keyword `set`, `get`, `init`, `add`, `remove` #279

Closed tamasvajk closed 1 year ago

tamasvajk commented 1 year ago

set, get, init, add, remove are not needed in the _contextual_keywords list. They can only be used as a property accessor name, which doesn't seem to interfere with identifiers.

I've split the PR into two commits to make displaying the changes in the first commit. (I'm getting "Sorry, this diff is taking too long to generate." when viewing the diff of the entire PR)

tamasvajk commented 1 year ago

I've rebased and squashed. Also added the file-sizes.txt.