Invert condition

This commit is contained in:
Jeremy Kolb 2020-07-15 08:17:48 -04:00
parent 26725fcfbb
commit 6a7d1d4412

View file

@ -749,7 +749,7 @@ fn handle_fixes(
match &params.context.only {
Some(v) => {
if v.iter().any(|it| {
if !v.iter().any(|it| {
it == &lsp_types::CodeActionKind::EMPTY
|| it == &lsp_types::CodeActionKind::QUICKFIX
}) {