vim: Add language client and rls support

This commit is contained in:
Simon Bruder 2020-05-31 20:04:16 +02:00
parent 2435aa2660
commit 5b8b22dbd2
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -69,6 +69,22 @@ Plug 'mechatroner/rainbow_csv'
Plug 'posva/vim-vue', { 'for': 'vue' }
Plug 'sirtaj/vim-openscad', { 'for': 'openscad' }
" Language Client
Plug 'autozimu/LanguageClient-neovim', {
\ 'branch': 'next',
\ 'do': 'bash install.sh',
\ }
set hidden
let g:LanguageClient_serverCommands = {
\ 'rust': ['~/.cargo/bin/rustup', 'run', 'stable', 'rls'],
\ }
nnoremap <F5> :call LanguageClient_contextMenu()<CR>
" Multi-entry selection UI
Plug 'junegunn/fzf'
" LaTeX helpers
Plug 'lervag/vimtex'
let g:tex_flavor='latex'