Add rust, syntastic
This commit is contained in:
parent
8720850ae0
commit
aa213ec7d9
1 changed files with 18 additions and 3 deletions
21
.vimrc
21
.vimrc
|
@ -10,6 +10,8 @@ Plugin 'ctrlpvim/ctrlp.vim'
|
||||||
Plugin 'ervandew/supertab'
|
Plugin 'ervandew/supertab'
|
||||||
Plugin 'itchyny/lightline.vim'
|
Plugin 'itchyny/lightline.vim'
|
||||||
Plugin 'NLKNguyen/papercolor-theme'
|
Plugin 'NLKNguyen/papercolor-theme'
|
||||||
|
Plugin 'rust-lang/rust.vim'
|
||||||
|
Plugin 'scrooloose/syntastic'
|
||||||
Plugin 'tomtom/tcomment_vim'
|
Plugin 'tomtom/tcomment_vim'
|
||||||
Plugin 'Valloric/YouCompleteMe'
|
Plugin 'Valloric/YouCompleteMe'
|
||||||
|
|
||||||
|
@ -328,12 +330,25 @@ if &term =~ "xterm" || &term =~ "screen" || &term == "screen"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Show syntax highlight group in the status bar
|
" Show syntax highlight group in the status bar
|
||||||
" map ,h :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<'
|
map ,h :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<'
|
||||||
" \ . synIDattr(synID(line("."),col("."),0),"name") . "> lo<"
|
\ . synIDattr(synID(line("."),col("."),0),"name") . "> lo<"
|
||||||
" \ . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">"<CR>
|
\ . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">"<CR>
|
||||||
|
|
||||||
set background=light
|
set background=light
|
||||||
let g:PaperColor_Light_Override = { 'Background' : '#fefe00' }
|
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
|
color dln-light
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue