mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-18 16:06:56 -05:00
Move smartparens configs to modules
This commit is contained in:
11
core/defuns/defuns-smartparens.el
Normal file
11
core/defuns/defuns-smartparens.el
Normal file
@@ -0,0 +1,11 @@
|
||||
;;; defuns-smartparens.el
|
||||
|
||||
;;;###autoload
|
||||
(defun narf/sp-insert-yasnippet (id action context)
|
||||
(forward-char -1)
|
||||
(if (sp-point-after-bol-p id action context)
|
||||
(yas-expand-from-trigger-key)
|
||||
(forward-char)))
|
||||
|
||||
(provide 'defuns-smartparens)
|
||||
;;; defuns-smartparens.el ends here
|
Reference in New Issue
Block a user