this repo has no description
at master 505 B view raw
1if exists('g:loaded_hqf') 2 finish 3endif 4let g:loaded_hqf = 1 5 6function! s:load_file(type, bang, file) abort 7 let l:efm = &l:efm 8 let &l:errorformat = "%-G%f:%l: All of '%#%.depend'%.%#,%f%.%l col %c%. %m" 9 let l:cmd = a:bang ? 'getfile' : 'file' 10 exec a:type.l:cmd.' '.a:file 11 let &l:efm = l:efm 12endfunction 13 14command! -complete=file -nargs=1 -bang Cfile call <SID>load_file('c', <bang>0, <f-args>) 15command! -complete=file -nargs=1 -bang Lfile call <SID>load_file('l', <bang>0, <f-args>)