This commit is contained in:
Dmitry Sharshakov 2021-08-22 15:16:59 +03:00
parent f247858055
commit 53ee57f84a
No known key found for this signature in database
GPG key ID: 471FD32E15FD8473

View file

@ -1932,10 +1932,10 @@ mod cmd {
use helix_lsp::block_on; use helix_lsp::block_on;
let condition = args.join(" "); let condition = args.join(" ");
let condition = if condition.len() > 0 { let condition = if condition.is_empty() {
Some(condition)
} else {
None None
} else {
Some(condition)
}; };
let (view, doc) = current!(cx.editor); let (view, doc) = current!(cx.editor);