32 Plugin 'godlygeek/tabular' |
32 Plugin 'godlygeek/tabular' |
33 Plugin 'tomtom/tcomment_vim' |
33 Plugin 'tomtom/tcomment_vim' |
34 Plugin 'tpope/vim-unimpaired' |
34 Plugin 'tpope/vim-unimpaired' |
35 Plugin 'tpope/vim-endwise' |
35 Plugin 'tpope/vim-endwise' |
36 Plugin 'lifepillar/vim-mucomplete' |
36 Plugin 'lifepillar/vim-mucomplete' |
|
37 |
|
38 if executable('rls') |
|
39 Plugin 'prabirshrestha/async.vim' |
|
40 Plugin 'prabirshrestha/vim-lsp' |
|
41 end |
37 |
42 |
38 Plugin 'vimwiki/vimwiki' |
43 Plugin 'vimwiki/vimwiki' |
39 |
44 |
40 Plugin 'tpope/vim-fugitive' |
45 Plugin 'tpope/vim-fugitive' |
41 Plugin 'ludovicchabant/vim-lawrencium' |
46 Plugin 'ludovicchabant/vim-lawrencium' |
319 |
324 |
320 ">> mucomplete |
325 ">> mucomplete |
321 " enable and prefer local buffer before tags |
326 " enable and prefer local buffer before tags |
322 let g:mucomplete#enable_auto_at_startup = 1 |
327 let g:mucomplete#enable_auto_at_startup = 1 |
323 let g:mucomplete#chains = {'default': ['path', 'omni', 'c-n', 'tags', 'dict', 'uspl']} |
328 let g:mucomplete#chains = {'default': ['path', 'omni', 'c-n', 'tags', 'dict', 'uspl']} |
|
329 |
|
330 ">> vim-lsp |
|
331 augroup vim-lsp |
|
332 autocmd! |
|
333 |
|
334 if executable('rls') |
|
335 autocmd FileType rust setlocal omnifunc=lsp#complete |
|
336 au User lsp_setup call lsp#register_server({ |
|
337 \ 'name': 'rls', |
|
338 \ 'cmd': {server_info->['rustup', 'run', 'nightly', 'rls']}, |
|
339 \ 'whitelist': ['rust'], |
|
340 \ }) |
|
341 endif |
|
342 augroup END |
324 |
343 |
325 ">> Vimwiki |
344 ">> Vimwiki |
326 let g:vimwiki_list = [ |
345 let g:vimwiki_list = [ |
327 \ { |
346 \ { |
328 \ 'path': '~/vimwiki/', |
347 \ 'path': '~/vimwiki/', |