From 4b299480f218557d2b28391af647443eeb0fcc0f Mon Sep 17 00:00:00 2001 From: Riyyi Date: Wed, 6 Jan 2021 15:28:07 +0100 Subject: [PATCH] Add prescient sorting to company-mode --- .config/emacs/config.org | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 314935c..af9ab05 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -470,22 +470,25 @@ Autocomplete packages (includes code completion and snippets). **** Company #+BEGIN_SRC emacs-lisp - (use-package company - :defer t - :custom - (company-idle-delay 0.2) - (company-minimum-prefix-length 2) - (company-tooltip-align-annotations 't) - :hook - ((c-mode-common - emacs-lisp-mode - latex-mode - org-mode - php-mode - shell-mode - shell-script-mode) - . company-mode) - ) +(use-package company + :defer t + :custom + (company-idle-delay 0.2) + (company-minimum-prefix-length 2) + (company-tooltip-align-annotations 't) + :hook + ((c-mode-common + emacs-lisp-mode + latex-mode + org-mode + php-mode + shell-mode + shell-script-mode) + . company-mode)) + +(use-package company-prescient + :after company + :config (company-prescient-mode 1)) #+END_SRC **** Flycheck