vim: Add language client and rls support
This commit is contained in:
parent
2435aa2660
commit
5b8b22dbd2
|
@ -69,6 +69,22 @@ Plug 'mechatroner/rainbow_csv'
|
||||||
Plug 'posva/vim-vue', { 'for': 'vue' }
|
Plug 'posva/vim-vue', { 'for': 'vue' }
|
||||||
Plug 'sirtaj/vim-openscad', { 'for': 'openscad' }
|
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
|
" LaTeX helpers
|
||||||
Plug 'lervag/vimtex'
|
Plug 'lervag/vimtex'
|
||||||
let g:tex_flavor='latex'
|
let g:tex_flavor='latex'
|
||||||
|
|
Reference in a new issue