From: João Távora Date: Tue, 22 Dec 2020 17:31:52 +0000 (+0000) Subject: Use flex completion if available by default X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~191 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e36fe5985153effff3cba7328ae3b6f0bd771147;p=emacs.git 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 --- 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))