From 966f85521e1ac35f9d751591a115ee9dfafc6e73 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 19 Apr 2016 03:17:49 -0400 Subject: [PATCH] php: improve smartparens config --- modules/module-php.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/module-php.el b/modules/module-php.el index 56e0aa083..1b6abdfbb 100644 --- a/modules/module-php.el +++ b/modules/module-php.el @@ -34,10 +34,10 @@ (message "PHP eldoc updated!")))) (sp-with-modes '(php-mode) - (sp-local-pair "/*" "*/" :post-handlers '(("||\n[i]" "RET") ("| " "SPC"))) - (sp-local-pair "/**" "*/" :post-handlers '(("||\n[i]" "RET") ("||\n[i]" "SPC"))) - (sp-local-pair "" :post-handlers '(("||\n[i]" "RET") ("| " "SPC") )) - (sp-local-pair "" :post-handlers '(("||\n[i]" "RET") ("| " "SPC"))) + (sp-local-pair "/*" "*/" :post-handlers '(("||\n[i]" "RET") ("| " "SPC"))) + (sp-local-pair "/**" "*/" :post-handlers '(("||\n[i]" "RET") ("||\n[i]" "SPC"))) + (sp-local-pair "") + (sp-local-pair "") (sp-local-pair "") (sp-local-pair "" :when '(("RET")) :post-handlers '("||\n[i]")) (sp-local-pair "" :when '(("RET")) :post-handlers '("||\n[i]")))