55071RE: preserving folding during :TOhtml?
- Nov 22, 2004On Mon, 22 Nov 2004 at 7:15pm, David Fishburn wrote:
> > >Thanks, I will give it a try. I presume this doesn't work for searching
> > > Functions for syntax and highlight groups already existed.
> > >
> > Sorry for not being clear, what I was talking about the
> > highlighting shown by using :match command. How do I know
> > that a (line,col) is being shown with a specific highlighting
> > group? Once I can determine this, I can make use of the
> > functions synIDattr() and synIDtrans() to obtain display attributes.
> Hmm, my plugin might already do what you want:
> " SrchRplcHiGrp - Search and replace based on a syntax highlight group
> " http://www.vim.org/script.php?script_id=848
> When you place you cursor on a character (highlighted the correct colour)
> One chooses the group, the other (with the !) chooses the base group.
> Then you can perform a search and replace based on the highlight group name.
> This might get you a bit closer anyway.
under diff highlighting, because of the lack of Vim functions, but just
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
- << Previous post in topic Next post in topic >>