diff --git a/modules/lang/php/config.el b/modules/lang/php/config.el index 6e0136d73..ea01efcb4 100644 --- a/modules/lang/php/config.el +++ b/modules/lang/php/config.el @@ -28,12 +28,8 @@ (setq-hook! 'php-mode-hook sp-max-pair-length 6) (sp-with-modes '(php-mode) - (sp-local-pair "/* " "*/" :post-handlers '(("||\n[i] " "RET") ("| " "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]"))) + (sp-local-pair "" :post-handlers '(("| " "SPC" "=") ("||\n[i]" "RET") ("[d2]" "p"))) + (sp-local-pair "" :post-handlers '(("| " "SPC") ("||\n[i]" "RET")))) (map! :map php-mode-map :localleader