From e36fe5985153effff3cba7328ae3b6f0bd771147 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Tue, 22 Dec 2020 17:31:52 +0000 Subject: [PATCH] Use flex completion if available by default * eglot.el (eglot--managed-mode): Set completion-styles. GitHub-reference: close https://github.com/joaotavora/eglot/issues/575 --- lisp/progmodes/eglot.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 35c959bb20d..1a53c16dfc9 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -1362,6 +1362,7 @@ Use `eglot-managed-p' to determine if current buffer is managed.") (eglot--setq-saving flymake-diagnostic-functions '(eglot-flymake-backend t)) (eglot--setq-saving company-backends '(company-capf)) (eglot--setq-saving company-tooltip-align-annotations t) + (eglot--setq-saving completion-styles '(flex basic)) (unless (eglot--stay-out-of-p 'imenu) (add-function :before-until (local 'imenu-create-index-function) #'eglot-imenu)) -- 2.39.2