Update .vimrc

cfe2712307a62161a5fff1b8e11ef5487809f76d
Alexis Sellier committed ago 1 parent a9d77b9d
.vimrc +3 -1
316 316
  Plug 'junegunn/goyo.vim'
317 317
  Plug 'vim-scripts/fountain.vim'
318 318
  Plug 'exu/pgsql.vim'
319 319
  Plug 'hail2u/vim-css3-syntax'
320 320
  Plug 'lervag/vimtex'
321 -
  Plug 'vim-scripts/gnupg.vim'
322 321
  Plug 'itchyny/vim-gitbranch'
323 322
  Plug 'cespare/vim-toml'
324 323
  Plug 'rust-lang/rust.vim'
325 324
  Plug 'neoclide/coc.nvim', {'branch': 'release', 'for': ['rust'] }
326 325
358 357
endfunction
359 358
360 359
command! Write setlocal spell   | Goyo 100x98%
361 360
command! Code  setlocal nospell | Goyo!
362 361
362 +
" Delete the current file.
363 +
command! Delete call delete(expand('%')) | bdelete!
364 +
363 365
if has("nvim")
364 366
  " Make sure we dont' load the rust cargo plugin from rust.vim!
365 367
  let g:loaded_rust_vim_plugin_cargo = 1
366 368
  " Don't add errors to quickfix if rustfmt fails.
367 369
  let g:rustfmt_fail_silently = 1