From 953176439f9486af15a1f4cb2bf39537094c8a72 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Tue, 9 Feb 2021 07:45:39 -0700 Subject: [PATCH] add rust analyzer stuff, also ts and ruby --- .vimrc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.vimrc b/.vimrc index 12d8bde..2193008 100644 --- a/.vimrc +++ b/.vimrc @@ -7,6 +7,12 @@ Plug 'junegunn/fzf' Plug 'junegunn/fzf.vim' Plug 'w0rp/ale' +Plug 'leafgarland/typescript-vim' +Plug 'vim-ruby/vim-ruby' + +Plug 'prabirshrestha/async.vim' +Plug 'prabirshrestha/vim-lsp' + call plug#end() nmap bi :PlugInstall @@ -51,6 +57,13 @@ set nolist set ruler set mouse-=a + +au User lsp_setup call lsp#register_server({ + \ 'name': 'rust-analyzer', + \ 'cmd': ["rust-analyzer"], + \ 'allowlist': ['rust'], +\ }) + let g:ale_linters = { \ 'javascript': ['eslint'], \ 'ruby': ['rubocop26'],