.vimrc highligh
This commit is contained in:
21
.vimrc
21
.vimrc
@@ -66,8 +66,6 @@ if !exists("vimrc_autocmds_loaded")
|
||||
au BufLeave,FocusLost,InsertEnter * set nornu
|
||||
endif
|
||||
set updatetime=1000 " Default is 4s, but reduce it to make things more real time, like git gutter
|
||||
highlight Search ctermbg=5
|
||||
highlight ColorColumn ctermbg=4
|
||||
|
||||
filetype plugin indent on " required
|
||||
syntax on
|
||||
@@ -215,6 +213,7 @@ let g:ale_lint_on_text_changed = 'never'
|
||||
let g:ale_lint_on_enter = 0
|
||||
let g:ale_c_parse_makefile = 1
|
||||
let g:ale_lint_on_insert_leave = 1
|
||||
let g:ale_set_loclist = 1
|
||||
|
||||
" fugitive.vim looks for tags in .git
|
||||
" set tags +=~/tags " Recursively move upwards in tree, searching in subfolders for tags file
|
||||
@@ -238,10 +237,22 @@ set statusline+=%#MoreMsg#
|
||||
set statusline+=\ "
|
||||
|
||||
" Colors
|
||||
" Useful for testing:
|
||||
" :runtime syntax/colortest.vim
|
||||
" :runtime syntax/hitest.vim
|
||||
highlight SignColumn ctermbg=NONE
|
||||
highlight GitGutterAdd ctermbg=NONE ctermfg=2
|
||||
highlight GitGutterChange ctermbg=NONE ctermfg=3
|
||||
highlight GitGutterDelete ctermbg=NONE ctermfg=1
|
||||
highlight GitGutterAdd ctermbg=NONE ctermfg=DarkGreen
|
||||
highlight GitGutterChange ctermbg=NONE ctermfg=Yellow
|
||||
highlight GitGutterDelete ctermbg=NONE ctermfg=DarkRed
|
||||
highlight GitGutterDelete ctermbg=NONE ctermfg=DarkRed
|
||||
highlight Search ctermbg=Brown ctermfg=LightRed
|
||||
highlight ColorColumn ctermbg=DarkBlue
|
||||
highlight Visual ctermbg=LightBlue
|
||||
highlight ALEInfo ctermbg=DarkBlue ctermfg=White
|
||||
highlight ALEWarning ctermbg=DarkBlue ctermfg=Black
|
||||
highlight ALEError ctermbg=DarkRed ctermfg=Black
|
||||
highlight SpellCap ctermbg=DarkBlue ctermfg=Black
|
||||
highlight SpellBad ctermbg=DarkRed ctermfg=Black
|
||||
|
||||
" flake8
|
||||
let g:flake8_show_in_gutter=1
|
||||
|
||||
Reference in New Issue
Block a user