mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
21 lines
506 B
VimL
21 lines
506 B
VimL
let g:coc_filetypes += ['rust']
|
|
let g:coc_global_extensions += ['coc-rust-analyzer']
|
|
let g:coc_user_config['rust-analyzer'] = {
|
|
\ 'serverPath': 'rust-analyzer',
|
|
\ 'lens': {
|
|
\ 'enable': v:false,
|
|
\ },
|
|
\ 'inlayHints': {
|
|
\ 'typeHints': v:false,
|
|
\ 'chainingHints': v:false,
|
|
\ },
|
|
\ 'checkOnSave': {
|
|
\ 'command': 'clippy',
|
|
\ },
|
|
\ 'cargo': {
|
|
\ 'loadOutDirsFromCheck': v:true,
|
|
\ },
|
|
\ }
|
|
|
|
" let g:coc_global_extensions += ['coc-rls']
|
|
" let g:coc_user_config['rust'] = { 'clippy_preference': 'on' }
|