diff --git a/.vim/after/ftplugin/rust.vim b/.vim/after/ftplugin/rust.vim index c08bb70..2aa38b1 100644 --- a/.vim/after/ftplugin/rust.vim +++ b/.vim/after/ftplugin/rust.vim @@ -1 +1,2 @@ compiler cargo +let g:rustfmt_command = 'cargo fmt --' diff --git a/.vimrc b/.vimrc index f411228..959b8b8 100644 --- a/.vimrc +++ b/.vimrc @@ -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 " }}}