I'm trying to debug a syntax file with a few hundred syntax
and highlight
commands, many of which with the same result.
I want to know which of these are being applied to a particular string to decide how to colour it.
I found the solution in Vi Stack Exchange (thanks @mkrieger1 for the link).
:echo synIDattr(synID(line("."), col("."), 1), "name")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With