Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--helix-view/src/commands/mod.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/helix-view/src/commands/mod.rs b/helix-view/src/commands/mod.rs
index 5aa29ba4..3f42bc4c 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};