@@ -3049,6 +3049,11 @@ pub mod insert {
3051 fn language_server_completion(cx: &mut Context, ch: char) {
3051 fn language_server_completion(cx: &mut Context, ch: char) {
3052+ let config = cx.editor.config();
3053+ if !config.auto_completion {
3052 use helix_lsp::lsp;
3057 use helix_lsp::lsp;
3053 // if ch matches completion char, trigger completion
3058 // if ch matches completion char, trigger completion
3054 let doc = doc_mut!(cx.editor);
3059 let doc = doc_mut!(cx.editor);