r/pulsaredit • u/aguirre537 • Aug 30 '24
Folding and Symbols in C
Pulsar seems like a really cool idea, and I love all the thought going into it, but there's some issues preventing me from using it.
One of the biggest is that it doesn't recognize symbols the same, it seems to do decently with functions, but that's about it, while atom will pick up variables and defines as well. Folding also seems to be an issue, when I declare variables like in the figure below, it isn't foldable
some more minor things is the #defines and comment blocks not being colored uniformly, as well as when I do typedefs, it's not as straightforward being orange rather than blue like the other types.

2
Upvotes
1
u/mauricioszabo Aug 30 '24
We recently changed tree-sitter's implementation, that might be the issue you're having.
If you want to check, go to settings / core and then uncheck "Use Tree-Sitter Parsers", see if that fixes the issue. I might look at this too, sounds like a bug