[vim] use cargo fmt for rustfmt, disable cursorline due to perf

pull/28/head
Alpha Chen 7 years ago
parent 02fa457249
commit 76208727cd

@ -1 +1,2 @@
compiler cargo
let g:rustfmt_command = 'cargo fmt --'

@ -60,11 +60,11 @@ set splitright
set lazyredraw
" only show cursorline in current window
augroup CursorLine
au!
au VimEnter,WinEnter,BufWinEnter * setlocal cursorline
au WinLeave * setlocal nocursorline
augroup END
" augroup CursorLine
" au!
" au VimEnter,WinEnter,BufWinEnter * setlocal cursorline
" au WinLeave * setlocal nocursorline
" augroup END
" }}}

Loading…
Cancel
Save