mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Update
This commit is contained in:
parent
ddbe4e8859
commit
f891de69dc
1 changed files with 8 additions and 3 deletions
|
|
@ -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!
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue