Permalink
Browse files

Adding all the possible type errors

  • Loading branch information...
1 parent 42678b1 commit 1bacf395ec6aed6340481e7855f2e59f12552fdc @deantoni deantoni committed Mar 28, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 ftplugin/javascript.vim
View
@@ -8,7 +8,11 @@ let &makeprg="node %"
" Error: bar
" at Object.foo [as _onTimeout] (/Users/Felix/.vim/bundle/vim-nodejs-errorformat/test.js:2:9)
let &errorformat = '%AError: %m' . ','
+let &errorformat .= '%AEvalError: %m' . ','
+let &errorformat .= '%ARangeError: %m' . ','
let &errorformat .= '%AReferenceError: %m' . ','
+let &errorformat .= '%ASyntaxError: %m' . ','
+let &errorformat .= '%ATypeError: %m' . ','
let &errorformat .= '%Z%*[\ ]at\ %f:%l:%c' . ','
let &errorformat .= '%Z%*[\ ]%m (%f:%l:%c)' . ','

0 comments on commit 1bacf39

Please sign in to comment.