diff --git a/.vimrc b/.vimrc index 13367a1..9e8a123 100644 --- a/.vimrc +++ b/.vimrc @@ -10,6 +10,8 @@ Plugin 'ctrlpvim/ctrlp.vim' Plugin 'ervandew/supertab' Plugin 'itchyny/lightline.vim' Plugin 'NLKNguyen/papercolor-theme' +Plugin 'rust-lang/rust.vim' +Plugin 'scrooloose/syntastic' Plugin 'tomtom/tcomment_vim' Plugin 'Valloric/YouCompleteMe' @@ -328,12 +330,25 @@ if &term =~ "xterm" || &term =~ "screen" || &term == "screen" endif " Show syntax highlight group in the status bar -" map ,h :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' -" \ . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" -" \ . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">" +map ,h :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' +\ . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" +\ . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">" set background=light let g:PaperColor_Light_Override = { 'Background' : '#fefe00' } +let g:lightline = { + \ 'colorscheme': 'seoul256', + \ } + +set statusline+=%#warningmsg# +set statusline+=%{SyntasticStatuslineFlag()} +set statusline+=%* + +let g:syntastic_always_populate_loc_list = 1 +let g:syntastic_auto_loc_list = 1 +let g:syntastic_check_on_open = 1 +let g:syntastic_check_on_wq = 0 + color dln-light