Browse Source

Add prescient sorting to company-mode

master
Riyyi 4 years ago
parent
commit
4b299480f2
  1. 35
      .config/emacs/config.org

35
.config/emacs/config.org

@ -470,22 +470,25 @@ Autocomplete packages (includes code completion and snippets).
**** Company **** Company
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package company (use-package company
:defer t :defer t
:custom :custom
(company-idle-delay 0.2) (company-idle-delay 0.2)
(company-minimum-prefix-length 2) (company-minimum-prefix-length 2)
(company-tooltip-align-annotations 't) (company-tooltip-align-annotations 't)
:hook :hook
((c-mode-common ((c-mode-common
emacs-lisp-mode emacs-lisp-mode
latex-mode latex-mode
org-mode org-mode
php-mode php-mode
shell-mode shell-mode
shell-script-mode) shell-script-mode)
. company-mode) . company-mode))
)
(use-package company-prescient
:after company
:config (company-prescient-mode 1))
#+END_SRC #+END_SRC
**** Flycheck **** Flycheck

Loading…
Cancel
Save