tree-sitter / tree-sitter-c-sharp

C# Grammar for tree-sitter
MIT License
177 stars 47 forks source link

Unhide _preprocessor_call #310

Closed vlada-dudr closed 1 month ago

vlada-dudr commented 1 year ago

The problem is that leading # is never captured into any node.

I am trying to work on C# indent query for neovim. It calculates indent by first node on line and as # is always before any directive node, I cannot effectively affect such line.

I'd make pull request, but sadly I don't own machine with enough ram to generate the grammar and test my modifications.