mirror of https://github.com/helix-editor/helix
placeholder completion fn if no LSP
parent
eadb2eaad1
commit
febc7ee0fa
|
@ -3573,6 +3573,12 @@ fn remove_primary_selection(cx: &mut Context) {
|
||||||
doc.set_selection(view.id, selection);
|
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) {
|
pub fn completion(cx: &mut Context) {
|
||||||
use helix_lsp::{lsp, util::pos_to_lsp_pos};
|
use helix_lsp::{lsp, util::pos_to_lsp_pos};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue