Reconfigure smartparens to be less obnoxious
This commit is contained in:
parent
1ea237ebd3
commit
c9b69efa11
4 changed files with 11 additions and 32 deletions
|
@ -18,6 +18,8 @@
|
|||
|
||||
(map! :map php-mode-map (:localleader :nv ";" 'doom/append-semicolon))
|
||||
|
||||
(add-hook! php-mode (setq-local sp-max-pair-length 6))
|
||||
|
||||
(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")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue