comparison runtime/syntax/2html.vim @ 25773:11b656e74444

Update runtime files Commit: https://github.com/vim/vim/commit/6c391a74fe90190796ca0b0c010112948a6e75d7 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 9 21:55:11 2021 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 Sep 2021 22:00:10 +0200
parents 1a951a4beee3
children eb2638f278bf
comparison
equal deleted inserted replaced
25772:55753c17b73d 25773:11b656e74444
497 return s:HtmlFormat(a:text, a:style_id, a:diff_style_id, "", 1) 497 return s:HtmlFormat(a:text, a:style_id, a:diff_style_id, "", 1)
498 endfun 498 endfun
499 endif 499 endif
500 elseif s:settings.line_ids 500 elseif s:settings.line_ids
501 " if lines are not being numbered the only reason this function gets called 501 " if lines are not being numbered the only reason this function gets called
502 " is to put the line IDs on each line; "text" will be emtpy but lnr will 502 " is to put the line IDs on each line; "text" will be empty but lnr will
503 " always be non-zero, however we don't want to use the <input> because that 503 " always be non-zero, however we don't want to use the <input> because that
504 " won't work as nice for empty text 504 " won't work as nice for empty text
505 function! s:HtmlFormat_n(text, style_id, diff_style_id, lnr) 505 function! s:HtmlFormat_n(text, style_id, diff_style_id, lnr)
506 return s:HtmlFormat(a:text, a:style_id, a:diff_style_id, 'id="'.(exists('g:html_diff_win_num') ? 'W'.g:html_diff_win_num : "").'L'.a:lnr.s:settings.id_suffix.'" ', 0) 506 return s:HtmlFormat(a:text, a:style_id, a:diff_style_id, 'id="'.(exists('g:html_diff_win_num') ? 'W'.g:html_diff_win_num : "").'L'.a:lnr.s:settings.id_suffix.'" ', 0)
507 endfun 507 endfun
1032 " set up progress bar in the status line 1032 " set up progress bar in the status line
1033 if !s:settings.no_progress 1033 if !s:settings.no_progress
1034 " ProgressBar Indicator 1034 " ProgressBar Indicator
1035 let s:progressbar={} 1035 let s:progressbar={}
1036 1036
1037 " Progessbar specific functions 1037 " Progressbar specific functions
1038 1038
1039 func! s:SetProgbarColor() 1039 func! s:SetProgbarColor()
1040 if hlID("TOhtmlProgress") != 0 1040 if hlID("TOhtmlProgress") != 0
1041 hi! link TOhtmlProgress_auto TOhtmlProgress 1041 hi! link TOhtmlProgress_auto TOhtmlProgress
1042 elseif hlID("TOhtmlProgress_auto")==0 || 1042 elseif hlID("TOhtmlProgress_auto")==0 ||