comparison plugins/hghelp/hghelp.vim @ 12:08bdff1abb15

merging heads
author luka
date Fri, 28 Nov 2025 08:46:48 -0500
parents 17c557de03e0
children 027a85d0e60e
comparison
equal deleted inserted replaced
11:eeda6b1401ae 12:08bdff1abb15
1 let g:hg_format_command = "" 1 let g:hg_format_command = ""
2 2
3 3
4 function PopupCommand(command) 4 function PopupCommand(command)
5 let buf = term_start(a:command, {'hidden': 1, 'term_finish': 'close'}) 5 let buf = term_start(a:command, {'hidden': 1, 'term_finish': 'close'})
6 let winid = popup_create(buf, {'minwidth': 50, 'minheight': 20}) 6 let winid = popup_create(buf, {'minwidth': 120, 'minheight': 28})
7 endfunction 7 endfunction
8 8
9 function ExecuteCommand(command) 9 function ExecuteCommand(command)
10 return system(a:command . ' 2>&1') 10 return system(a:command . ' 2>&1')
11 endfunction 11 endfunction