Wednesday, February 13, 2019

Re: how to display current syntax and highlight items

[accidentally sent privately, so sending it again]

Hi,

Marvin Renich schrieb am 12.02.2019 um 17:33:
> I have looked through index.txt (especially g commands), syntax.txt, and
> usr_06.txt, but I could not find any reference to displaying the name of
> the current syntax item and/or highlight item of the character under the
> cursor. I am pretty sure that there was a tip about this on this list
> in the distant past, but cannot find it. Can anyone point me to the
> correct help tag?

there is the HiLinkTrace plugin by Dr. Chip. You can find it on his home
page (http://www.drchip.org/astronaut/vim/index.html#HILINKS). It provides
(among others) the :HLT and :HLT! commands. I find the !-variant especially
useful; it shows and updates the highlighting trace and syntax stack on
every cursor movement.

Regards,
Jürgen

--
~
~
~
:wq

--
--
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.
For more options, visit https://groups.google.com/d/optout.

No comments: