-
-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Milestone
Description
Expected behavior
I can type () => {} or any other valid JS ES6 arrow function and strict mode will allow me to type the > without matching it with a <.
Actual behavior
I'm prevented from typing > on its own so I have to type C-u > every time. Basically, smartparents doesn't know this is valid syntax so it assumes it's an unmatched angle bracket.
Steps to reproduce the problem
- Open any supported JS mode
- Enable
smartparens-strict-mode - Type
() => {}or any other valid JS ES6 arrow function
Environment & version information
smartparensversion: 20171201.242- Active major-mode: web-mode
- Emacs version (
M-x emacs-version): GNU Emacs 25.3.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911)) of 2017-09-12 - Emacs config: https://github.com/nickmccurdy/dotfiles/blob/master/home/.emacs
- OS: darwin
danmilon and ROCKTAKEY
Metadata
Metadata
Assignees
Projects
Status
To triage