add rust analyzer stuff, also ts and ruby
This commit is contained in:
parent
358f0826a4
commit
953176439f
13
.vimrc
13
.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 <Leader>bi :PlugInstall<CR>
|
||||
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user