1. Fuco
  2. .emacs.d

Commits

Fuco  committed 3abcf17

Added gfm for markdown modes, added html tag pair as wrapped

  • Participants
  • Parent commits 3ba07bf
  • Branches default

Comments (0)

Files changed (1)

File files/smartparens.el

View file
 ;;; markdown-mode
 (sp-add-pair "*" "*")
 
-(sp-with '(markdown-mode rst-mode)
+(sp-with '(markdown-mode gfm-mode rst-mode)
   ;; this also disables '*' in all other modes
   (sp-add-local-allow-insert-pair "*")
   (sp-add-tag-pair "2" "**" "**" nil)
-  (sp-add-tag-pair "s" "```scheme" "```" nil))
+  (sp-add-tag-pair "s" "```scheme" "```" nil)
+  (sp-add-tag-pair "<"  "<_>" "</_>" 'sp-match-sgml-tags))
 
 ;;; tex-mode latex-mode
 (sp-with '(tex-mode plain-tex-mode latex-mode)