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