]> git.eshelyaron.com Git - emacs.git/commitdiff
Force company to align completion annotations in eglot sessions
authorJoão Távora <joaotavora@gmail.com>
Tue, 22 Oct 2019 00:44:54 +0000 (01:44 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 22 Oct 2019 00:44:54 +0000 (01:44 +0100)
* eglot.el (eglot--managed-mode): force
company-tooltip-align-annotations to t.

lisp/progmodes/eglot.el

index 92a35cab438d6f3d658c25a2e672188cc1adbbca..e29d88857742b81bca80307fee517c25f69ad3e5 100644 (file)
@@ -1226,6 +1226,7 @@ For example, to keep your Company customization use
     (eglot--setq-saving xref-prompt-for-identifier nil)
     (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 imenu-create-index-function #'eglot-imenu)
     (flymake-mode 1)
     (eldoc-mode 1))