branch: externals/eglot
commit 926d059417fed92d454c994a90405fcbbef28755
Author: João Távora <[email protected]>
Commit: João Távora <[email protected]>
Close #575: Use flex completion if available by default
* eglot.el (eglot--managed-mode): Set completion-styles.
---
eglot.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/eglot.el b/eglot.el
index 35c959b..1a53c16 100644
--- a/eglot.el
+++ b/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))