updated .vimrc

pull/2/head
Hari Sekhon 4 years ago
parent d75c70ff9d
commit 9c7f5bcac0

@ -483,11 +483,11 @@ endfunction
function! WriteHelp()
:w
if &filetype == 'go'
:! go run "%" --help 2>&1 | less
:! go run "%:p" --help 2>&1 | less
elseif expand('%:t') == 'Makefile'
:call Make('help')
else
:! "%" --help 2>&1 | less
:! "%:p" --help 2>&1 | less
endif
endfunction

Loading…
Cancel
Save