mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] disable rust-analyzer's diagnostics and autoimports
This commit is contained in:
parent
f79ed65e0c
commit
707397ae9e
1 changed files with 7 additions and 13 deletions
|
@ -2,19 +2,13 @@ let g:coc_filetypes += ['rust']
|
||||||
let g:coc_global_extensions += ['coc-rust-analyzer']
|
let g:coc_global_extensions += ['coc-rust-analyzer']
|
||||||
let g:coc_user_config['rust-analyzer'] = {
|
let g:coc_user_config['rust-analyzer'] = {
|
||||||
\ 'serverPath': 'rust-analyzer',
|
\ 'serverPath': 'rust-analyzer',
|
||||||
\ 'lens': {
|
\ 'lens.enable': v:false,
|
||||||
\ 'enable': v:false,
|
\ 'inlayHints.typeHints': v:false,
|
||||||
\ },
|
\ 'inlayHints.chainingHints': v:false,
|
||||||
\ 'inlayHints': {
|
\ 'diagnostics.enable': v:false,
|
||||||
\ 'typeHints': v:false,
|
\ 'completion.autoimport.enable': v:false,
|
||||||
\ 'chainingHints': v:false,
|
\ 'checkOnSave.command': 'clippy',
|
||||||
\ },
|
\ 'cargo.loadOutDirsFromCheck': v:true,
|
||||||
\ 'checkOnSave': {
|
|
||||||
\ 'command': 'clippy',
|
|
||||||
\ },
|
|
||||||
\ 'cargo': {
|
|
||||||
\ 'loadOutDirsFromCheck': v:true,
|
|
||||||
\ },
|
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
" let g:coc_global_extensions += ['coc-rls']
|
" let g:coc_global_extensions += ['coc-rls']
|
||||||
|
|
Loading…
Reference in a new issue