Mercurial > vim
comparison runtime/autoload/tohtml.vim @ 7176:30042ddff503
commit https://github.com/vim/vim/commit/60cce2fb736c8ff6fdb9603f502d3c15f1f7a25d
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Oct 13 23:21:27 2015 +0200
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 13 Oct 2015 23:30:05 +0200 |
parents | ad6996a23e3e |
children | f8b0f1e42f2c |
comparison
equal
deleted
inserted
replaced
7175:27c1768bc708 | 7176:30042ddff503 |
---|---|
1 " Vim autoload file for the tohtml plugin. | 1 " Vim autoload file for the tohtml plugin. |
2 " Maintainer: Ben Fritz <fritzophrenic@gmail.com> | 2 " Maintainer: Ben Fritz <fritzophrenic@gmail.com> |
3 " Last Change: 2013 Jun 19 | 3 " Last Change: 2013 Sep 03 |
4 " | 4 " |
5 " Additional contributors: | 5 " Additional contributors: |
6 " | 6 " |
7 " Original by Bram Moolenaar <Bram@vim.org> | 7 " Original by Bram Moolenaar <Bram@vim.org> |
8 " Diff2HTML() added by Christian Brabandt <cb@256bit.org> | 8 " Diff2HTML() added by Christian Brabandt <cb@256bit.org> |
300 endif | 300 endif |
301 runtime syntax/2html.vim "}}} | 301 runtime syntax/2html.vim "}}} |
302 else "{{{ | 302 else "{{{ |
303 let win_list = [] | 303 let win_list = [] |
304 let buf_list = [] | 304 let buf_list = [] |
305 windo | if &diff | call add(win_list, winbufnr(0)) | endif | 305 windo if &diff | call add(win_list, winbufnr(0)) | endif |
306 let s:settings.whole_filler = 1 | 306 let s:settings.whole_filler = 1 |
307 let g:html_diff_win_num = 0 | 307 let g:html_diff_win_num = 0 |
308 for window in win_list | 308 for window in win_list |
309 " switch to the next buffer to convert | 309 " switch to the next buffer to convert |
310 exe ":" . bufwinnr(window) . "wincmd w" | 310 exe ":" . bufwinnr(window) . "wincmd w" |