emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/company cf8b20f 1/4: Restore the exact default frontend


From: ELPA Syncer
Subject: [elpa] externals/company cf8b20f 1/4: Restore the exact default frontends list on company-tng-mode disable
Date: Sat, 1 May 2021 20:57:08 -0400 (EDT)

branch: externals/company
commit cf8b20f19bd18fd3c55d70ebf5ed36fc0be51fee
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Restore the exact default frontends list on company-tng-mode disable
---
 company-tng.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/company-tng.el b/company-tng.el
index 59e466f..55124a3 100644
--- a/company-tng.el
+++ b/company-tng.el
@@ -179,7 +179,9 @@ confirm the selection and finish the completion."
     (setq company-selection-default nil))
    (t
     (setq company-frontends
-          (delete 'company-tng-frontend company-frontends))
+          '(company-pseudo-tooltip-unless-just-one-frontend
+            company-preview-if-just-one-frontend
+            company-echo-metadata-frontend))
     (when company-tng-auto-configure
       (setq company-require-match 'company-explicit-action-p
             company-clang-insert-arguments t



reply via email to

[Prev in Thread] Current Thread [Next in Thread]