1 --- /usr/share/vim/vim72/syntax/2html.vim 2009-06-16 06:24:31.000000000 +0000
2 +++ /tmp/2html.vim 2009-10-06 23:05:11.000000000 +0000
4 let s:old_report = &report
10 " Split window to create a buffer with the HTML file.
14 let s:expandedtab = strpart(s:line, s:startcol - 1, s:col - s:startcol)
15 - let idx = stridx(s:expandedtab, "\t")
17 - let i = &ts - ((idx + s:startcol - 1) % &ts)
18 - let s:expandedtab = substitute(s:expandedtab, '\t', repeat(' ', i), '')
19 - let idx = stridx(s:expandedtab, "\t")
22 + let idx = stridx(s:expandedtab, "\t")
24 + let i = &ts - ((idx + s:startcol - 1) % &ts)
25 + let s:expandedtab = substitute(s:expandedtab, '\t', repeat(' ', i), '')
26 + let idx = stridx(s:expandedtab, "\t")
32 " Output the text with the same synID, with class set to {s:id_name}
33 let s:id = synIDtrans(s:id)