diff --git a/helix-view/src/commands/mod.rs b/helix-view/src/commands/mod.rs index 5aa29ba4b..3f42bc4c9 100644 --- a/helix-view/src/commands/mod.rs +++ b/helix-view/src/commands/mod.rs @@ -3573,6 +3573,12 @@ fn remove_primary_selection(cx: &mut Context) { doc.set_selection(view.id, selection); } +#[cfg(not(feature = "lsp"))] +pub fn completion(cx: &mut Context) { + // TODO: +} + +#[cfg(feature = "lsp")] pub fn completion(cx: &mut Context) { use helix_lsp::{lsp, util::pos_to_lsp_pos};