Is there a way in Vim Script to get the highlighting under the cursor
when it is SpellBad or similar group?
For instance, after:
:new
:set ft=c
:set spell
i// Whaat?
I would like to determine that "Whaat" is highlighted with SpellBad.
I have tried with synIDattr(), but it always returns the attributes of
the underlying highlight group (Comment in the previous example).
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 vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/rj66u1%24177m%241%40ciao.gmane.io.
No comments:
Post a Comment