vim - Tweaking syntax checker shellcheck's highlight colors (with syntastic and pathogen) -
to me, shellcheck
's highlight colors , message zone (where syntax flagged dubious , warnings displayed) both wrong.
is possible modify status-line and main window highlight colors used
shellcheck
?i looked , since have
syntax on
in~/.vimrc
. imagine main window's highlight color scheme vim's default, opposed havingsyntax enable
, supposedly allows subsequent definition of highlight color scheme user.digging bit more, found since
syntastic
's install, have following status line in~/.vimrc
:" general status line option unchanged (vim window , multiple buffer window) - there before syntastic set statusline=%<\ %n\ %f\ %m%r%h\ %y%h%=\ line:\ \%l/\%l\ (\%p%%)\ column:\ \%c\ " syntastic options (new) " set highlight group 'warningmsg' <= defined where? set statusline+=%#warningmsg# " no clue function syntasticstatuslineflag() evaluate or does... set statusline+=%{syntasticstatuslineflag()} " restore normal highlight mode or scheme set statusline+=%*
i not intent on revisiting warningmsg
hi-color scheme. instead want modify few color hi-rules syntax checking, terminal window not punch me in face, whenever trip syntax checker in bash or c or python or whatever.
- can modify height of syntastic's message display area in terminal's vim's window? find way big. ideally i'd able modify directly vim session adapt circumstances. if not possible, permanently shaving couple of lines off good.
is possible modify status-line and main window highlight colors used
shellcheck
?
shellcheck doesn't highlight anything. doesn't know, nor care, either vim, or highlighting. 1 doing highlighting syntastic. using highlighting groups linked standard ones default. it's redefine colors corresponding these groups. see :help syntastic-highlighting
.
highlighting status line possible, not trivial. has nothing syntastic.
" no clue function syntasticstatuslineflag() evaluate or does...
:help syntastic-statusline-flag
, :help 'syntastic_stl_format'
can modify height of syntastic's message display area in terminal's vim's window ?
:help 'syntastic_loc_list_height'
Comments
Post a Comment