We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e531bd commit af07f38Copy full SHA for af07f38
autoload/hdevtools.vim
@@ -588,6 +588,10 @@ function! hdevtools#insert_type()
588
endif
589
590
let l:pos_lines = split(l:output_for_pos, '\n')
591
+ if len(l:pos_lines) == 0
592
+ call hdevtools#print_error('hdevtools#insert_type: No Type Information. hdevtools answered: ' . l:output_for_pos)
593
+ return
594
+ endif
595
let l:pos_last_line = l:pos_lines[-1]
596
let l:pos_last_line_parsed = matchlist(l:pos_last_line, '\(\d\+\) \(\d\+\) \(\d\+\) \(\d\+\) "\([^"]\+\)"')
597
if len(l:pos_last_line_parsed) == 0
0 commit comments