You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, that's basically the same bug. I have a good idea where the problematic code is, but I don't have time to debug it myself either. Adding a real docstring should work as a workaround I guess.
We mark the docstring positional statically and we probably need to make this more dynamic homehow (e.g. it's number 2 only if the form has 3 arguments).
Perhaps related to #405
Expected behavior
Actual behavior
Form indented as a docstring unnecessarily.
Steps to reproduce the problem
With the following
var
definition:And cursor at
|
Entering any character causes unhelpful indentation:
It appears to be because
clojure-mode
determines that the form is a docstringUnfortunately I don't have the time to debug the treatment of syntax-ppss, which I suspect is at the root of the issue.
Environment & Version information
The issues does not present with current
melpa-stable
release ofclojure-mode
:The text was updated successfully, but these errors were encountered: