-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable rust-analyzer for a single file. #3660
Comments
What about the following setting? |
@Veetaha Thank you, this seems to only configure it for my editor, but I'd like to check in this change in the repository so that it's the same for anyone opening that file, or if I open it from a different machine with a different configuration it is still disabled. |
You can check in a Code configuration snippet under |
Yes, sorry, I should have mentioned I'm using Vim with |
So, should we consider this issue resolved? |
@Veetaha Well not unless this is a wontfix, ideally there would be a way to disable (or configure) that is editor agnostic. |
This do is editor agnostic, coc nvim does provide a way to pass this parameter |
Editor-agnostic configuration is tracked in #6113, let's close this. |
Hello, I've started trying out rust analyzer and minor annoyance is that I can't disable RLS on a per file basis. Tokei's codebase actually uses Rust mixed with handlebars for code generation, so RLS will never be able to correctly handle this file and I have a lot of errors whenever I'm editing.
It would be nice if I could set a modeline or similar comment or attribute inside the file itself to disable RLS for just that file.
Proposed Solution
// rust-analyzer: disable
The text was updated successfully, but these errors were encountered: