-
Notifications
You must be signed in to change notification settings - Fork 115
Cooperate with famous plugins
Linwei edited this page Nov 1, 2016
·
25 revisions
errormarker is a plugin to highlights and sets error markers for lines with compile errors. It is very handy and has more than 5K downloads in vim.org.
This plugin relys on an autocmd named QuickFixCmdPost make
which will be triggered at the end of ':make' command.
And we can trigger that autocmd by setting "g:asyncrun_auto" to "make":
let g:asyncrun_auto = "make"
This will execute an "doautocmd QuickFixCmdPost make" after background job finished and get errormaker
to read ahd process the content of quickfix window:
Now when any AsyncRun command completes, errormaker
will show the markers and ballons on the errors and warnings of source file. It's pretty cool.
see here
see here
(this page is still editing in progress ...)