Vimlint: add a safety net for a bug in Vim.

This commit is contained in:
LCD 47 2014-02-08 20:12:44 +02:00
parent ef9055fea9
commit 5192738b9d

View File

@ -80,7 +80,7 @@ function! s:vimlintOutput(filename, pos, ev, eid, mes, obj)
\ 'vcol': 0,
\ 'type': a:ev[0],
\ 'text': '[' . a:eid . '] ' . a:mes,
\ 'valid': 1 })
\ 'valid': a:pos.lnum > 0 })
endfunction
" @vimlint(EVL103, 0, a:filename)