[nvim] add niceties for rust
This commit is contained in:
parent
a668b26439
commit
6e36ec0980
@ -27,7 +27,8 @@ call minpac#add('rust-lang/rust.vim')
|
||||
call minpac#add('thaerkh/vim-indentguides')
|
||||
call minpac#add('vim-syntastic/syntastic')
|
||||
call minpac#add('majutsushi/tagbar')
|
||||
|
||||
call minpac#add('Shougo/deoplete.nvim')
|
||||
call minpac#add('racer-rust/vim-racer')
|
||||
|
||||
command! PackUpdate call minpac#update()
|
||||
command! PackClean call minpac#clean()
|
||||
@ -35,7 +36,10 @@ command! PackClean call minpac#clean()
|
||||
cmap w!! w suda://%
|
||||
|
||||
colorscheme desert-warm-256
|
||||
let g:racer_experimental_completer = 1
|
||||
let g:racer_insert_paren = 1
|
||||
let g:UltiSnipsSnippetDirectories=["UltiSnips", "mysnippets"]
|
||||
let g:indentguides_ignorelist = ['txt','md','help']
|
||||
let g:rustfmt_autosave = 1
|
||||
let g:netrw_dirhistmax = 0
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
@ -166,3 +170,14 @@ map ,c <esc>2GddOTo: contact@sysnove.fr<esc>jddOCc: <esc>
|
||||
autocmd BufNewFile,BufRead *.hledger,*.ledger,*.journal setfiletype ledger
|
||||
autocmd Filetype ledger set nospell
|
||||
{{- end }}
|
||||
|
||||
" syntastic
|
||||
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user