forked from aniani/vim
Improved :TOhtml. (Benjamin Fritz)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
" Vim autoload file for the tohtml plugin.
|
||||
" Maintainer: Ben Fritz <fritzophrenic@gmail.com>
|
||||
" Last Change: 2010 Jul 15
|
||||
" Last Change: 2010 July 16
|
||||
"
|
||||
" Additional contributors:
|
||||
"
|
||||
@@ -146,7 +146,7 @@ func! tohtml#Diff2HTML(win_list, buf_list)
|
||||
\ " <!--",
|
||||
\ " function toggleFold(objID)",
|
||||
\ " {",
|
||||
\ " for (win_num = 1; win_num <= 2; win_num++)",
|
||||
\ " for (win_num = 1; win_num <= ".len(a:buf_list)."; win_num++)",
|
||||
\ " {",
|
||||
\ " var fold;",
|
||||
\ ' fold = document.getElementById("win"+win_num+objID);',
|
||||
@@ -239,4 +239,4 @@ let &cpo = s:cpo_sav
|
||||
unlet s:cpo_sav
|
||||
|
||||
" Make sure any patches will probably use consistent indent
|
||||
" vim: sw=2 sts=2 et
|
||||
" vim: ts=8 sw=2 sts=2 noet
|
||||
|
@@ -1,6 +1,6 @@
|
||||
" Vim plugin for converting a syntax highlighted file to HTML.
|
||||
" Maintainer: Ben Fritz <fritzophrenic@gmail.com>
|
||||
" Last Change: 2010 Jul 15
|
||||
" Last Change: 2010 Jul 16
|
||||
"
|
||||
" The core of the code is in $VIMRUNTIME/autoload/tohtml.vim and
|
||||
" $VIMRUNTIME/syntax/2html.vim
|
||||
@@ -14,4 +14,4 @@ if !&cp && !exists(":TOhtml") && has("user_commands")
|
||||
endif
|
||||
|
||||
" Make sure any patches will probably use consistent indent
|
||||
" vim: ts=2 sw=2 sts=2 et
|
||||
" vim: ts=8 sw=2 sts=2 noet
|
||||
|
@@ -1,6 +1,6 @@
|
||||
" Vim syntax support file
|
||||
" Maintainer: Ben Fritz <fritzophrenic@gmail.com>
|
||||
" Last Change: 2010 July 15
|
||||
" Last Change: 2010 July 16
|
||||
"
|
||||
" Additional contributors:
|
||||
"
|
||||
@@ -990,7 +990,7 @@ while !empty(s:idlist)
|
||||
endif
|
||||
else
|
||||
execute '%s+<span class="' . s:id_name . '">\([^<]*\)</span>+\1+ge'
|
||||
if exists("s:html_use_css")
|
||||
if exists("g:html_use_css")
|
||||
1;/<style type="text/+1
|
||||
endif
|
||||
endif
|
||||
@@ -1088,4 +1088,4 @@ let &cpo = s:cpo_sav
|
||||
unlet! s:cpo_sav
|
||||
|
||||
" Make sure any patches will probably use consistent indent
|
||||
" vim: noet sw=2 sts=2
|
||||
" vim: ts=8 sw=2 sts=2 noet
|
||||
|
Reference in New Issue
Block a user