lang/{javascript,php}: fix doc comment sp pairs
This commit is contained in:
parent
a5437a3860
commit
67efcb597f
2 changed files with 4 additions and 2 deletions
|
@ -28,6 +28,9 @@
|
|||
(set! :electric 'js2-mode :chars '(?\} ?\) ?.) :words '("||" "&&"))
|
||||
(set! :xref-backend 'js2-mode 'xref-js2-xref-backend)
|
||||
|
||||
(sp-with-modes '(js2-mode rjsx-mode)
|
||||
(sp-local-pair "/* " " */" :post-handlers '(("| " "SPC"))))
|
||||
|
||||
(map! :map js2-mode-map
|
||||
:localleader
|
||||
:nv ";" 'doom/append-semicolon
|
||||
|
|
|
@ -21,7 +21,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")))
|
||||
(sp-local-pair "<? " " ?>")
|
||||
(sp-local-pair "<?php " " ?>")
|
||||
(sp-local-pair "<?=" " ?>")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue