[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 compiler cargo
let g:rustfmt_command = 'cargo fmt --'

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

Loading…
Cancel
Save