Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect braces matching in Django templates/web-mode #4812

Closed
darkfeline opened this issue Jan 26, 2016 · 1 comment
Closed

Incorrect braces matching in Django templates/web-mode #4812

darkfeline opened this issue Jan 26, 2016 · 1 comment

Comments

@darkfeline
Copy link
Contributor

This is the same as #1333

Reproduce: Type {{<SPC> in web-mode.
Expected: Expands to {{<SPC><SPC>}}.
Actual: Expands to {{<SPC><SPC>}}}.

I have a relatively clean Spacemacs on a work computer that exhibits this; I will endeavor to post the SPC h d s within a few days.

The workaround posted in the old issue fixes the problem:

(sp-local-pair 'web-mode "<" nil :actions '(:rem insert))
(sp-local-pair 'web-mode "{" nil :actions '(:rem insert))
@TheBB
Copy link
Collaborator

TheBB commented Jan 26, 2016

This is fixed by #4728 and a duplicate of #4499.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants