Add coc-rust-analyzer in .vimrc

This commit is contained in:
Tanguy Gérôme 2024-09-16 13:45:55 +03:00
parent aa100c6b1b
commit 5974fb5c04

6
.vimrc
View file

@ -35,7 +35,8 @@ let g:coc_global_extensions = [
\ 'coc-tsserver', \ 'coc-tsserver',
\ 'coc-html', \ 'coc-html',
\ 'coc-json', \ 'coc-json',
\ 'coc-pyright' \ 'coc-pyright',
\ 'coc-rust-analyzer'
\ ] \ ]
call plug#end() call plug#end()
@ -117,6 +118,9 @@ autocmd Filetype scss setlocal ts=2 sw=2 expandtab
autocmd Filetype css setlocal ts=2 sw=2 expandtab autocmd Filetype css setlocal ts=2 sw=2 expandtab
autocmd Filetype python setlocal ts=4 sts=4 sw=4 expandtab autocmd Filetype python setlocal ts=4 sts=4 sw=4 expandtab
" rust
" PYTHON PROVIDERS {{{ " PYTHON PROVIDERS {{{
if has('macunix') if has('macunix')