mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
placeholder completion fn if no LSP
This commit is contained in:
parent
eadb2eaad1
commit
febc7ee0fa
@ -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};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user