diff options
author | Tom Willemsen | 2020-02-28 15:22:01 -0800 |
---|---|---|
committer | Tom Willemsen | 2020-02-28 15:22:01 -0800 |
commit | 30225bdd1fb9f1155c74e46d98178c1222f5f452 (patch) | |
tree | 7201b51260844d9d902dd8c0c8b0dc58f3cf0031 /oni-company.el | |
parent | 9c5d65170e8bc57e29f6681bf6a1c5220c4fce05 (diff) | |
download | emacs-config-30225bdd1fb9f1155c74e46d98178c1222f5f452.tar.gz emacs-config-30225bdd1fb9f1155c74e46d98178c1222f5f452.zip |
Add yasnippet to company-capf
Diffstat (limited to 'oni-company.el')
-rw-r--r-- | oni-company.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/oni-company.el b/oni-company.el index d30a866..954dda7 100644 --- a/oni-company.el +++ b/oni-company.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2020.0225.101609 +;; Version: 2020.0228.151952 ;; Package-Requires: (company oni-prescient company-posframe diminish company-prescient) ;; This program is free software; you can redistribute it and/or modify @@ -49,6 +49,9 @@ company-echo-metadata-frontend company-preview-frontend)) +(setf (car (member 'company-capf company-backends)) + '(company-capf :with company-yasnippet)) + (add-hook 'company-completion-started-hook 'oni-company--enable-posframe) (company-prescient-mode) |