Add disableDiagnostics setting
See original GitHub issueI’m not yet using coc-rust-analyzer, my old setup is:
let languageservers = {}
let languageservers['rust'] = {
\ 'command': 'ra_lsp_server',
\ 'filetypes': ['rust'],
\ 'rootPatterns': ['Cargo.toml'],
\ 'disableDiagnostics': v:true
\ }
call coc#config('languageserver', languageservers)
Having disableDiagnostics
is important in my setup because at the moment rust-analyzer isn’t useful for diagnostics, so I’m using ALE with RLS for that. I’m not sure whether I can already use this setting with coc-rust-analyzer or it needs to be added.
Issue Analytics
- State:
- Created 4 years ago
- Comments:18 (3 by maintainers)
Top Results From Across the Web
Set-AzDiagnosticSetting (Az.Monitor) - Microsoft Learn
The Set-AzDiagnosticSetting cmdlet enables or disables each time grain and log ... Specify $True to enable diagnostics, or $False to disable diagnostics.
Read more >Add config to enable/disable diagnostics · Issue #204 - GitHub
Diagnostics can be disabled completely or categories of diagnostics disabled in 1.3. Expected type 'int'. Found 'string' was due to declare( ...
Read more >Enable or Disable Delete Diagnostic Data in Windows 10
Enable or Disable Delete Diagnostic Data in Windows 10 · Option One: Enable or Disable Delete Diagnostic Data in Local Group Policy Editor ......
Read more >Learn How to Change the Diagnostics & Feedback ... - YouTube
FREE Course! Click: https://www.teachucomp.com/free Learn how to change the diagnostics and feedback settings in Windows 11 at www.
Read more >Android Basics: 10 settings to instantly disable on your phone
Usage & diagnostics - android settings to disable ... make it fairly simple to disable and adjust these ad settings on your Android...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@JeanMertz thanks for you report, that makes me give it a try 😃
For what it’s worth, I’m using this plugin with cargo-watch (using
clippy
instead ofcheck
), and have had no issues with performance or heaviness.Contrast that to the past when I used RLS, which could take 10+ seconds before it gave back any feedback after making a change to a document in a larger project.
I’m definitely going to check out your solution, but I have the opposite feeling of finding RLS heavyweight and RA+Clippy lightweight. Perhaps that feeling is no longer justified, so I’m definitely going to give it a go!