mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-09 12:57:25 -05:00
smartparens: smarter double quotes
This commit is contained in:
@ -279,6 +279,7 @@ enable multiple minor modes for the same regexp.")
|
|||||||
|
|
||||||
;; Auto-close more conservatively
|
;; Auto-close more conservatively
|
||||||
(sp-pair "'" nil :unless '(sp-point-after-word-p))
|
(sp-pair "'" nil :unless '(sp-point-after-word-p))
|
||||||
|
(sp-pair "\"" nil :unless '(sp-point-before-word-p sp-point-before-same-p))
|
||||||
(sp-pair "{" nil :post-handlers '(("||\n[i]" "RET") ("| " " "))
|
(sp-pair "{" nil :post-handlers '(("||\n[i]" "RET") ("| " " "))
|
||||||
:unless '(sp-point-before-word-p sp-point-before-same-p))
|
:unless '(sp-point-before-word-p sp-point-before-same-p))
|
||||||
(sp-pair "(" nil :post-handlers '(("||\n[i]" "RET") ("| " " "))
|
(sp-pair "(" nil :post-handlers '(("||\n[i]" "RET") ("| " " "))
|
||||||
|
Reference in New Issue
Block a user