dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

rust.vim (395B)


      1 " if exists('g:loaded_dispatch')
      2 "   nnoremap <buffer> <leader>mm :Make build<CR>
      3 " else
      4 "   nnoremap <buffer> <leader>mm :make build<CR>
      5 " endif
      6 setlocal formatprg=rustfmt
      7 setlocal keywordprg=rustup\ doc
      8 let b:undo_ftplugin = (exists('b:undo_ftplugin') ? b:undo_ftplugin.'|' : '')
      9 let b:undo_ftplugin .= 'setlocal formatprg< keywordprg<'
     10 " let b:undo_ftplugin .= '| nunmap <buffer> <leader>mm'