smartparens: fix 'wrong side of point' errors in C++

This commit is contained in:
Henrik Lissner 2016-03-25 13:38:34 -04:00
parent 512efdd446
commit 9351dcd218

View file

@ -266,7 +266,7 @@ enable multiple minor modes for the same regexp.")
(sp-local-pair "while" "" :when '(("SPC")) :post-handlers '((:add sp-insert-yasnippet)) :actions '(insert)))
(sp-with-modes '(c-mode c++-mode objc-mode php-mode java-mode)
(sp-local-pair "/*" "" :post-handlers '(("||\n[i]*/" "RET") ("| */" "SPC")))
(sp-local-pair "/*" "*/" :post-handlers '(("||\n[i]" "RET") ("| " "SPC")))
;; Doxygen blocks
(sp-local-pair "/**" "*/" :post-handlers '(("||\n[i]" "RET") ("||\n[i]" "SPC")))