do not edit — generated by btf.
git.druid.rocksindexdruid520radiumradium-yasnippet.el

radium-yasnippet.el


;;; radium-yasnippet.el, snippet templates matching my styles -*- lexical-binding: t; -*-
 
(use-package yasnippet
  :init (yas-global-mode 1)
  :config
  ;; TAB is indent, everywhere, no exceptions (same call as corfu's in
  ;; radium-completion.el): yas' minor-map TAB trigger expands snippets
  ;; mid-typing, so it goes. snippets still expand via M-x yas-expand /
  ;; yas-insert-snippet, and everything that generates snippets (stub,
  ;; proto) calls yas-expand-snippet directly. TAB inside an active
  ;; snippet still moves between fields - yas-keymap is a snippet
  ;; context, not an indent context.
  (define-key yas-minor-mode-map (kbd "TAB") nil)
  (define-key yas-minor-mode-map (kbd "<tab>") nil)
  :custom
  (yas-snippet-dirs (list (expand-file-name "snippets" user-emacs-directory))))
 
(provide 'radium-yasnippet)
powered by btf.