-
Notifications
You must be signed in to change notification settings - Fork 31
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
Support for different js-mode offset variables #63
Comments
Sure, we can support multiple variables (see the |
Sorry, I'm not sure where to look for that. Do you mean |
Sorry, I mean |
That makes sense. I was wondering if dtrt-indent could support multiple indentation values to multiple variables or at least guess the main indentation ( In order to do so, we would have to implement some parsing mechanism. The issue isn't just related to |
This sort of guessing seems to me better left to more specialised modes like smie-mode with |
Since js-mode has different offset variables, I was wondering if we could support those also.
Currently, if I use this file:
the guessed indentation is 2.
The problem is that
js-switch-indent-offset
was set to2
.The text was updated successfully, but these errors were encountered: