Add rust.vim plugin
This commit is contained in:
parent
6fbf30b9af
commit
310aaf3268
8
vimrc
8
vimrc
|
@ -54,6 +54,9 @@ Plug 'guns/vim-clojure-highlight'
|
||||||
Plug 'guns/vim-clojure-static'
|
Plug 'guns/vim-clojure-static'
|
||||||
Plug 'tpope/vim-fireplace', { 'for': 'clojure' }
|
Plug 'tpope/vim-fireplace', { 'for': 'clojure' }
|
||||||
|
|
||||||
|
" Rust
|
||||||
|
Plug 'rust-lang/rust.vim'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
@ -546,6 +549,11 @@ let g:clojure_align_multiline_strings = 1
|
||||||
let g:clojure_fuzzy_indent_patterns = ['^match', '^with', '^def', '^let']
|
let g:clojure_fuzzy_indent_patterns = ['^match', '^with', '^def', '^let']
|
||||||
let g:clojure_fuzzy_indent_blacklist = ['-fn$', '\v^with-%(meta|out-str|loading-context)$']
|
let g:clojure_fuzzy_indent_blacklist = ['-fn$', '\v^with-%(meta|out-str|loading-context)$']
|
||||||
|
|
||||||
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
" RUST.VIM
|
||||||
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
let g:rustfmt_autosave = 1 " auto run rust formatter when saving
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" FILESEARCH
|
" FILESEARCH
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user