4 (declare-function yas-reload-all
5 "yasnippet" (&optional no-jit interactive
))
6 (declare-function yas-maybe-expand-abbrev-key-filter
9 (defconst yas-verbosity-cur yas-verbosity
)
10 (setq yas-verbosity
2)
11 (add-to-list 'yas-snippet-dirs
"~/src/git/guix/etc/snippets" t
)
13 (setq yas-verbosity yas-verbosity-cur
)
15 (defun b/yas-maybe-expand-abbrev-key-filter
(cmd)
16 (when (and (yas-maybe-expand-abbrev-key-filter cmd
)
17 (not (bound-and-true-p git-commit-mode
)))
19 (defconst b
/yas-maybe-expand
20 '(menu-item "" yas-expand
:filter b
/yas-maybe-expand-abbrev-key-filter
))
21 (define-key yas-minor-mode-map
22 (kbd "SPC") b
/yas-maybe-expand
)
26 (provide 'bandali-yasnippet
)