Improve org integration

This commit is contained in:
Henrik Lissner 2015-11-23 15:21:24 -05:00
parent 1b67819fc7
commit 060f9cd9b1
6 changed files with 146 additions and 65 deletions

View file

@ -188,6 +188,8 @@ enable multiple minor modes for the same regexp.")
(sp-local-pair "/*\n" "\n */" :post-handlers '(("||[i]" "RET"))))
(sp-with-modes '(c-mode c++-mode php-mode java-mode)
(sp-local-pair "/*" "" :post-handlers '((" ||\n[i]*/" "RET"))))
(sp-with-modes '(org-mode)
(sp-local-pair "{" nil))
(after! yasnippet
(advice-add 'yas-expand :before 'sp-remove-active-pair-overlay))