-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Weird autocomplete in Django templates/web-mode #1333
Comments
I'm guessing it's a conflict between the standard auto-pairing/closing of things like parentheses and braces and web-mode's auto-pairing/closing of them. Extra layers enabled:
|
I don't see this issue. Is your html file called .html or .djhtml? |
|
you can use asciinema in terminal emacs. Also you have the asciinema to gif https://github.com/tav/asciinema2gif |
Just to confirm, you are on branch master right? I think this behaviour changes in |
I am indeed on master. I was using a symlinked version of the python layer (to have my YAPF plugin) but it was up-to-date with master. Just to be sure, I deleted the symlink and re-checked-out the python layer. Same behavior. |
+1, same behaviour here. |
I've found workaround in smartparens issue tracker. You need to add
to configuration (I've added it to my web-mode-init functon, but don't know if it's correct, excuse me if not, this is my first day with emacs + spacemacs). :P |
Does anybody still has this behaviour? |
This old issue has been waiting for a response for more than one month. As no answer has been provided, we can not help further or know if the issue is still relevant. We are then closing it. Feel free to open a new issue if there is any news on this side, be sure to read this guide first and link this issue in the new one. |
In a Django template, typing
{%
produces{%|}
as expected (with|
as the cursor). Once you press space, though, to add the rest of the tag, something is changing the existing tag to{% | %}}
. The same happens for{{
tags:{{ <space>
produces{{ | }}}}
.The text was updated successfully, but these errors were encountered: