Add support for info error marker in vimrc
This commit is contained in:
parent
f30f6eaa69
commit
7f121ab292
23
vimrc
23
vimrc
|
@ -62,7 +62,7 @@ endfunction
|
|||
" file in the root folder that you want it applied to.
|
||||
"
|
||||
" Some variables cannot be customized in an .lvimrc because their value is used
|
||||
" by settings in this file when its sourced. These have been flagged with a note.
|
||||
" by settings in this file when it's sourced. These have been flagged with a note.
|
||||
"
|
||||
" Also take note that an .lvimrc has precedence because it's loaded after this
|
||||
" and the private vimrc.
|
||||
|
@ -175,7 +175,7 @@ Plug 'majutsushi/tagbar' " Display ctags in a window, ordered by sc
|
|||
Plug 'tommcdo/vim-lion' " For text alignment, use gl= and gL=
|
||||
Plug 'tpope/tpope-vim-abolish' " Easily search for, substitute, and abbreviate multiple variants of a word. Add them to `vim/after/plugin/abolish.vim`
|
||||
Plug 'vim-scripts/AnsiEsc.vim' " Ansi escape sequences concealed, but highlighted as specified.
|
||||
Plug 'mh21/errormarker.vim' " Build error highlighting (requires skywind3000/asyncrun.vim).
|
||||
Plug 'sir-pinecone/errormarker.vim' " Build error highlighting (requires skywind3000/asyncrun.vim).
|
||||
Plug 'skywind3000/asyncrun.vim' " Async commands.
|
||||
Plug 'nelstrom/vim-qargs' " For the GlobalReplaceIt function (i.e. search and replace).
|
||||
|
||||
|
@ -1005,6 +1005,7 @@ set statusline=%<%f\ (%{&ft})\ %-4(%m%)%=%-19(%3l,%02c%03V%)
|
|||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" COLORS
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
exec "autocmd ColorScheme " . g:campo_dark_theme . " call ReloadRainbow()"
|
||||
exec "autocmd ColorScheme " . g:campo_light_theme . " call ReloadRainbow()"
|
||||
|
||||
|
@ -1108,10 +1109,18 @@ let g:asyncrun_auto = "make"
|
|||
" Error and warning gutter characters.
|
||||
let errormarker_errortext = "E"
|
||||
let errormarker_warningtext = "W"
|
||||
let errormarker_infotext = "I"
|
||||
|
||||
" Gutter character colors. See color file for the group definition.
|
||||
let errormarker_errortextgroup = "BuildError"
|
||||
let errormarker_warningtextgroup = "BuildWarn"
|
||||
let errormarker_infotextgroup = "BuildInfo"
|
||||
|
||||
" Colors for the marked lines. See color file for the group definition.
|
||||
let errormarker_errorgroup = "BuildError"
|
||||
let errormarker_warninggroup = "BuildWarn"
|
||||
let errormarker_infogroup = "BuildInfo"
|
||||
|
||||
" Error and warning gutter character colors. See color file for the group definition.
|
||||
let errormarker_errortextgroup = "ErrorMsg"
|
||||
let errormarker_warningtextgroup = "Notices"
|
||||
|
||||
"""""""""""""""""""""""""
|
||||
" Custom error formats
|
||||
|
@ -1121,7 +1130,7 @@ let errormarker_warningtextgroup = "Notices"
|
|||
" This will print the valid entries. You'll know parsing is correct when the
|
||||
" entries have a type, line num, error message, etc.
|
||||
|
||||
function! s:ShowErrorEntries()
|
||||
function! ShowErrorEntries()
|
||||
" Prints out valid quickfix errors.
|
||||
redraw!
|
||||
for l:d in getqflist()
|
||||
|
@ -1130,7 +1139,7 @@ function! s:ShowErrorEntries()
|
|||
endif
|
||||
endfor
|
||||
endfunction
|
||||
command -nargs=0 ShowErrorEntries call s:ShowErrorEntries()
|
||||
command -nargs=0 ShowErrorEntries call ShowErrorEntries()
|
||||
|
||||
|
||||
" Jai
|
||||
|
|
Loading…
Reference in New Issue
Block a user