Retrieve synID of highlight group by name

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Retrieve synID of highlight group by name

Lifepillar
Is there an efficient way to get the syntax ID given the name of
a highlight group? I.e., the inverse of

    synIDattr(id, 'name')

Thanks,
Life.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/reckeh%24eua%241%40ciao.gmane.io.