Skip to content

Commit

Permalink
emacs: re add company-prescient
Browse files Browse the repository at this point in the history
  • Loading branch information
Vonfry committed Dec 23, 2019
1 parent 70f4fff commit bf57309
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions emacs.d/modules/completion/company/config.el
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
;;; company config -*- lexical-binding: t -*-
;;
(defcustom +prescient-save-file
(expand-file-name "prescient" vonfry-cache-dir)
"prescient save file, see `prescient-save-file'"
:group 'vonfry-modules
:type 'file)
9 changes: 9 additions & 0 deletions emacs.d/modules/completion/company/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,12 @@
:after company
:config
(company-quickhelp-mode t))

(package! company-prescient
:after company
:custom
(prescient-save-file +prescient-save-file)
:hook
(company-mode . company-prescient-mode)
:config
(prescient-persist-mode t))

0 comments on commit bf57309

Please sign in to comment.