Fabien Meghazi wrote:
Hi,

I'm correcting my color syntax for terminal but I can't find the
syntax name of an highlighted string after searching in vim. Can
someone tell me what is the name I'm searching for ?

Thanks.

To find which syntax group is assigned to the character under the cursor, plug line(".") and col(".") into the synId() function, then plug the result into either synIdattr() or synIdtrans().

See
   :help line()
   :help col()
   :help synId()
   :help synIdattr()
   :help synIdtrans()

HTH,
Tony.

Reply via email to