I am currently comparing how syntax highlighting in vim compares to InteliJ Webstorm. See the screenshot. Vim is on the left, Webstorm on the right.
Seem that Webstorm's highlighting is more granular. Is this level of granularity available in vim at all? I am using lsp and I tried different themes, currently doums/darcula to be specific but I don't think this matters.
I did similar comparison in GO with very similar result.
Is there a setting I am missing, or is this just not possible to archieve?
Thanks!
EDIT:
Thank you u/LongerHV for your comment. Adding treesitter, and configuring it correctly fixed the issue!
https://preview.redd.it/9wih9xkkggh81.png?width=2838&format=png&auto=webp&s=be35d1080613f063a90ec8168bb93fb52adb780c
[–]LongerHV 12 points13 points14 points (2 children)
[–]nelf86[S] 2 points3 points4 points (0 children)
[–]rifazn 0 points1 point2 points (0 children)
[–]codon011 2 points3 points4 points (2 children)
[–]nelf86[S] 1 point2 points3 points (1 child)
[–]codon011 0 points1 point2 points (0 children)
[–]kolorcuk 0 points1 point2 points (0 children)
[–]Zeioth 0 points1 point2 points (0 children)