From edfc8c25582b5fc0673f36b7af121ab8496bba24 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 29 Aug 2023 22:21:30 -0700 Subject: Add emacs-yasnippet-capf to my configuration --- oni/packages/emacs.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'oni/packages') diff --git a/oni/packages/emacs.scm b/oni/packages/emacs.scm index 008f283..526f96c 100644 --- a/oni/packages/emacs.scm +++ b/oni/packages/emacs.scm @@ -390,3 +390,25 @@ key features.") new-theme for a while. I couldn't think of a name so I named it after him.") (license license:gpl3+)))) +(define-public emacs-yasnippet-capf + (let ((commit "40654214db7a44db3a99321447632b43a10fae57") + (revision "0")) + (package + (name "emacs-yasnippet-capf") + (version (git-version "7.0.0" revision commit)) + (source + (origin + (uri (git-reference + (url "https://github.com/elken/yasnippet-capf.git") + (commit commit))) + (method git-fetch) + (file-name (git-file-name name version)) + (sha256 + (base32 "1kywl7jblrmixr0vwycpil5hyk4p5qlc3gxg9w25xga4jj91r663")))) + (propagated-inputs + (list emacs-yasnippet)) + (build-system emacs-build-system) + (home-page "https://github.com/elken/yasnippet-capf") + (synopsis "Completion-At-Point Extension for YASnippet") + (description "A simple capf (Completion-At-Point Function) for completing yasnippet snippets.") + (license license:gpl3)))) -- cgit v1.2.3-54-g00ecf