1
0
Fork 0

Add yasnippet to company-capf

This commit is contained in:
Tom Willemsen 2020-02-28 15:22:01 -08:00
parent 9c5d65170e
commit 30225bdd1f

View file

@ -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)