-
Notifications
You must be signed in to change notification settings - Fork 94
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
with syntax causes problems with show-paren-mode #440
Comments
Some of it is a bug, and some of it is unfortunately intended behavior (in SMIE). I think we'd be best off installing the following workaround: diff --git a/elixir-mode.el b/elixir-mode.el
index 2c3f29b..d1302c6 100644
--- a/elixir-mode.el
+++ b/elixir-mode.el
@@ -538,7 +538,10 @@ just return nil."
(smie-setup elixir-smie-grammar 'verbose-elixir-smie-rules
:forward-token 'elixir-smie-forward-token
- :backward-token 'elixir-smie-backward-token))
+ :backward-token 'elixir-smie-backward-token)
+ ;; https://github.com/elixir-editors/emacs-elixir/issues/363
+ ;; http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35496
+ (set (make-local-variable 'smie-blink-matching-inners) nil))
;; Invoke elixir-mode when appropriate
|
dgutov
added a commit
to dgutov/emacs-elixir
that referenced
this issue
Nov 28, 2019
Re-fixes elixir-editors#363 ("hang after RET") in a better way and fixes elixir-editors#440. It's a subtle bug in SMIE which is triggered by SMIE's grammar having both "do" and "do:". No fix in sight, and we have to support older Emacs anyway.
Trevoke
added a commit
that referenced
this issue
Dec 3, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
with
syntax confusesshow-paren-mode
. Jarring visual artifact (large highlighted blocks of show-matching-paren face) when point is positioned in column 0, to the left of thewith
statement.Config:
Elixir Code:
Is this an addressable bug in
elixir-mode
orshow-paren-mode
?The text was updated successfully, but these errors were encountered: