Skip to content

Commit 89ba722

Browse files
committed
Ignore empty line
1 parent b2d2b6c commit 89ba722

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

autoload/ghcmod.vim

+3
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ function! ghcmod#parse_make(lines, basedir) "{{{
6868
" See also :help readfile() and :help NL-used-for-Nul.
6969
let l:qflist = []
7070
for l:output in a:lines
71+
if empty(l:output)
72+
continue
73+
endif
7174
let l:qf = {}
7275
let l:m = matchlist(l:output, '^\(\(\f\| \)\+\):\(\d\+\):\(\d\+\):\s*\(.*\)$')
7376
if len(l:m) < 5

0 commit comments

Comments
 (0)