From 20052591fa6a88019bc514f68d0b3a772c03af50 Mon Sep 17 00:00:00 2001 From: Bit Connor Date: Sat, 29 Dec 2012 05:30:36 +0200 Subject: [PATCH] Echo "hdevtools working..." so that users know that Vim isn't stuck --- autoload/hdevtools.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autoload/hdevtools.vim b/autoload/hdevtools.vim index da2f8e1..16e9cb4 100644 --- a/autoload/hdevtools.vim +++ b/autoload/hdevtools.vim @@ -51,8 +51,10 @@ function! hdevtools#info(identifier) call hdevtools#print_warning("current version of hdevtools.vim doesn't support running on an unnamed buffer.") return endif + redraw | echo 'hdevtools working...' let l:cmd = hdevtools#build_command('info', shellescape(l:file) . ' -- ' . shellescape(l:identifier)) let l:output = system(l:cmd) + redraw | echo '' | redraw let l:lines = split(l:output, '\n') @@ -494,8 +496,10 @@ function! hdevtools#type() call hdevtools#print_warning("current version of hdevtools.vim doesn't support running on an unnamed buffer.") return ['', ''] endif + redraw | echo 'hdevtools working...' let l:cmd = hdevtools#build_command('type', shellescape(l:file) . ' ' . l:line . ' ' . l:col) let l:output = system(l:cmd) + redraw if v:shell_error != 0 for l:line in split(l:output, '\n')