Apply /* and /** pairs to more modes
Including js, ts, rjsx, rust, all C modes, php, and all css modes (scss, less, and stylus). Requested by @ar1a
This commit is contained in:
parent
c9ac30889c
commit
c78c6495f1
4 changed files with 8 additions and 12 deletions
|
@ -17,11 +17,6 @@
|
|||
;; Other
|
||||
:yield "import"))
|
||||
|
||||
(after! smartparens
|
||||
(sp-with-modes '(js2-mode typescript-mode rjsx-mode)
|
||||
(sp-local-pair "/**" "" :post-handlers '(("| " "SPC") ("|\n*/[i][d-2]" "RET")))
|
||||
(sp-local-pair "/*" "*/" :post-handlers '(("| " "SPC") ("|\n*/[i][d-2]" "RET")))))
|
||||
|
||||
|
||||
;;
|
||||
;; Major modes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue