55070RE: preserving folding during :TOhtml?
- Nov 22, 2004
> >Hmm, my plugin might already do what you want:
> > 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.
" SrchRplcHiGrp - Search and replace based on a syntax highlight group
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.
Do you use Vim to edit SQL?
Check the description of these plugins:
dbext.vim - Provides database access to 10 databases (Oracle, Sybase, SQL
Server, MySQL,...) (http://www.vim.org/scripts/script.php?script_id=356)
SQLUtilities - Formatting SQL, generate - columns lists, procedures for
sql.vim - SQL indent file for Sybase ASA and Oracle
Intellisense for Vim : SQL, C++, CSharp, Java, JSP, XML, HTML
- << Previous post in topic Next post in topic >>