misc: handles all error types in syntastic Nit syntax checker
[nit.git] / misc / syntastic / nit.vim
index 7da1985..a3fdf4b 100644 (file)
@@ -55,7 +55,7 @@ function! SyntaxCheckers_nit_GetLocList()
 
        " possible combinations of error messages
        let ef_start = [ '%f:%l\,%c--%*[0-9]:', '%f:%l\,%c--%*[0-9]\,%*[0-9]:', '%f:%l\,%c:' ]
-       let ef_type = [ ' %tarning: ', ' %trror: ', ' Syntax %trror: ' ]
+       let ef_type = [ ' %tarning: ', '' ]
 
        " generate errorformat from combinations
        let errorformat = ""