Open ghost opened 5 years ago
Thanks for the report @prati0100! Another maintainer mentioned that this seems like the same issue referenced in https://github.com/atom/language-go/pull/158#pullrequestreview-169502573 which ties into a higher-level (not just C-specific) issue at https://github.com/atom/atom/issues/18196.
Feel free to subscribe to https://github.com/atom/atom/issues/18196 if for updates you'd like and we'll keep this open for now.
@prati0100 commented on Nov 1, 2018, 4:45 PM UTC:
Prerequisites
Description
When using %s, %d, etc the %s part is not highlighted in tree-sitter parser. Without tree-sitter they are highlighted. I thought it would belong better in atom/language-c, but then I checked the scopes, and they are different with tree-sitter and without, so I'm guessing this is a better place. Apologies if it isn't.
Steps to Reproduce
Expected behavior: The escaped characters should be highlighted differently from the rest of the string![without](https://user-images.githubusercontent.com/8817931/47860109-caa09080-de15-11e8-8514-829d95aecef5.png)
Scope:
Actual behavior: They are not highlighted![with](https://user-images.githubusercontent.com/8817931/47860126-d3916200-de15-11e8-8df8-5f467e8d0e33.png)
Scope:
Reproduces how often: 100%
Versions
atom --version
: Atom : 1.32.1 Electron: 2.0.9 Chrome : 61.0.3163.100 Node : 8.9.3apm --version
: apm 2.1.2 npm 6.2.0 node 8.9.3 x64 atom 1.32.1 python 2.7.12 git 2.18.0OS: Ubuntu 16.04
Kernel: Linux 4.4.0-97-generic #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
This issue was moved by rsese from atom/atom#18380.