Add yasnippet to company-capf
This commit is contained in:
parent
9c5d65170e
commit
30225bdd1f
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue