Add rust-analyzer to my vim setup

This commit is contained in:
Nicole Tietz-Sokolskaya 2021-10-03 09:22:01 -04:00
parent 34c4dea798
commit 4f7b729fd1
2 changed files with 8 additions and 0 deletions

View File

@ -36,3 +36,6 @@ cd tla-bin
sudo ./install.sh /usr/local sudo ./install.sh /usr/local
sudo apt install -y openjdk-17-jre sudo apt install -y openjdk-17-jre
# This is needed for coc.nvim
sudo apt install -y nodejs npm

View File

@ -23,4 +23,9 @@ Plug 'editorconfig/editorconfig-vim'
" Make things real pretty " Make things real pretty
Plug 'flazz/vim-colorschemes' Plug 'flazz/vim-colorschemes'
" Completion and other inline type hints
Plug 'neoclide/coc.nvim', {'branch': 'release'}
" After installation, run this to setup with Rust:
" :CocInstall coc-rust-analyzer
call plug#end() call plug#end()