To: vim-dev@vim.org Subject: Patch 6.2.164 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.2.164 (after 6.2.144) Problem: When "g:html_use_css" is set the HTML header generated by the 2html script is still wrong. Solution: Search for a string instead of jumping to a fixed line number. Go to the start of the line before inserting the header. (Jess Thrysoee) Files: runtime/syntax/2html.vim *** ../vim-6.2.163/runtime/syntax/2html.vim Sun Nov 2 17:50:31 2003 --- runtime/syntax/2html.vim Thu Nov 13 17:01:05 2003 *************** *** 1,6 **** " Vim syntax support file " Maintainer: Bram Moolenaar ! " Last Change: 2003 Nov 02 " (modified by David Ne\v{c}as (Yeti) ) " Transform a file into HTML, using the current syntax highlighting. --- 1,6 ---- " Vim syntax support file " Maintainer: Bram Moolenaar ! " Last Change: 2003 Nov 13 " (modified by David Ne\v{c}as (Yeti) ) " Transform a file into HTML, using the current syntax highlighting. *************** *** 290,296 **** " Now, when we finally know which, we define the colors and styles if exists("html_use_css") ! 8 endif " Find out the background and foreground color. --- 290,296 ---- " Now, when we finally know which, we define the colors and styles if exists("html_use_css") ! 1;/