Skip to content

Commit

Permalink
Merge pull request #29 from tysonzero/patch-1
Browse files Browse the repository at this point in the history
Silently ignore hdevtools warnings
  • Loading branch information
bitc authored Mar 11, 2017
2 parents 474947c + f5b47e5 commit 8d0857c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion autoload/hdevtools.vim
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,9 @@ function! hdevtools#type()
let l:types = []
for l:line in split(l:output, '\n')
let l:m = matchlist(l:line, '\(\d\+\) \(\d\+\) \(\d\+\) \(\d\+\) "\([^"]\+\)"')
call add(l:types, [l:m[1 : 4], l:m[5]])
if len(l:m) != 0
call add(l:types, [l:m[1 : 4], l:m[5]])
endif
endfor

call hdevtools#clear_highlight()
Expand Down

0 comments on commit 8d0857c

Please sign in to comment.