Improve smartparens+web-mode compatibility
+ Enables web-mode's autopairing functionality + Prevents duplicate >'s after web-mode autopairing. + Leave longer-than-3-character pairs to smartparens (there was only <!-- -->) + Remove <?p -> <?php | ?> autopairer. Leave that to snippets (web-mode doesn't support prefixes longer than 3 letters, and <?php ?> is too much of a performance drain to have smartparens support it, so I added a "php" snippet that expands to <?php | ?>). + Tags now auto-close when you finish typing the opening tag. (web-mode-auto-close-style = 2)
This commit is contained in:
parent
88ee423806
commit
0ee42c1df0
1 changed files with 19 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue