Move smartparens configs to modules
This commit is contained in:
parent
1c37aebd2e
commit
f9e488cb0c
11 changed files with 98 additions and 61 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue