This commit is contained in:
Eduard Tolosa 2020-02-01 18:26:12 -05:00
parent ddbe4e8859
commit f891de69dc

View file

@ -34,14 +34,16 @@ Plug 'jiangmiao/auto-pairs'
" Completion for Rust " Completion for Rust
Plug 'sebastianmarkow/deoplete-rust' Plug 'sebastianmarkow/deoplete-rust'
" List ends here. Plugins become visible to Vim after this call. "List ends here. Plugins become visible to Vim after this call.
call plug#end() call plug#end()
" Use mustache " Use mustache
let g:mustache_abbreviations = 1 let g:mustache_abbreviations = 1
" Use deoplete. " Use deoplete and set deoplete options
let g:deoplete#enable_at_startup = 1 let g:deoplete#enable_at_startup = 1
call deoplete#custom#option('check_stderr', v:false)
" Rust config " Rust config
let g:rustfmt_autosave = 1 let g:rustfmt_autosave = 1
@ -118,4 +120,7 @@ set list " Show problematic characters.
" Also highlight all tabs and trailing whitespace characters. " Also highlight all tabs and trailing whitespace characters.
highlight ExtraWhitespace ctermbg=darkgreen guibg=darkgreen highlight ExtraWhitespace ctermbg=darkgreen guibg=darkgreen
match ExtraWhitespace /\s\+$\|\t/ match ExtraWhitespace /\s\+$\|\t/
" Sample command W to save a file in neovim without root permission with sudo
" command W :execute ':silent w !sudo tee % > /dev/null' | :edit!