mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-31 14:43:40 -05:00
feature/file-templates: +file-templates--expand shouldn't be interactive
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
|
||||
(defun +file-templates--expand (key &optional mode project-only)
|
||||
"Auto insert a snippet of yasnippet into new file."
|
||||
(interactive)
|
||||
(when (if project-only (doom-project-p) t)
|
||||
(require 'yasnippet)
|
||||
(unless yas-minor-mode (yas-minor-mode-on))
|
||||
|
Reference in New Issue
Block a user