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;
let condition = args.join(" ");
let condition = if condition.len() > 0 {
Some(condition)
} else {
let condition = if condition.is_empty() {
None
} else {
Some(condition)
};
let (view, doc) = current!(cx.editor);