Add python f"" and f'' pairs to smartparens config.
This commit is contained in:
@@ -118,6 +118,10 @@
|
||||
(sp-with-modes '(sh-mode markdown-mode gfm-mode rts-mode python-mode cython-mode)
|
||||
(sp-local-pair "`" nil :unless '(sp-point-before-word-p sp-point-after-word-p sp-point-before-same-p)))
|
||||
|
||||
(sp-with-modes '(python-mode)
|
||||
(sp-local-pair "f\"" "\"")
|
||||
(sp-local-pair "f'" "'"))
|
||||
|
||||
(sp-with-modes '(markdown-mode gfm-mode rst-mode)
|
||||
(sp-local-pair "*" "*" :wrap "C-*" :skip-match 'user--sp-gfm-skip-asterisk)
|
||||
(sp-local-tag "2" "**" "**")
|
||||
|
Reference in New Issue
Block a user