Closed kjnez closed 7 months ago
It is related to an other minor mode I think
Made an edit, before hitting Space, it should be {%I}
.
This can be partially solved with (add-hook 'web-mode-hook (lambda () (electric-pair-local-mode -1)))
, which disables electric-pair-local-mode in web-mode.
When using the Django engine in web-mode and electric-pair-mode, there's an extra
}
. For example, initially the cursor is just after %:And when hitting the Space key, it becomes