errormarker.vim : Highlights and sets error markers for lines with compile errors
| script karma
Downloaded by 4877
Comments, bugs, improvements
script versions (upload new version)
|Hooks the make quickfix command and converts all compiler errors into signs that are placed next to the line with the error. Additionally, lines with errors are highlighted. Hover with your mouse over such a line to get the error message in a tooltip (only gui), or press \cc. The error markers will be updated on every call to :make.
A screenshot of doxygen in action with a lot of errors can be found at http://mh21.de/vim-error-markers-doxygen.png.
|Copy the file errormarker.vim into ~/.vim/plugin. The help file will be automatically installed the next time VIM is launched.
To distinguish between warnings and errors for gcc messages, place sth. like this in your .vimrc:
let &errorformat="%f:%l:%c: %t%*[^:]:%m,%f:%l: %t%*[^:]:%m," . &errorformat
If you use a different locale than English, this may be also needed:
set makeprg=LANGUAGE=C\ make
Click on the package to download.
ip used for rating: 220.127.116.11