-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Highlight variable definitions #2
Comments
Can someone post a screenshot or an example of how this works in some other mode? Incidentally, I use https://github.com/nschum/highlight-symbol.el/ for visual tracing, eg with some hotkeys setup for navigation and toggling highlights. There are other Emacs packages with similar functionality. |
@Wilfred, since you opened the original issue JuliaLang/julia#8723, can you please clarify the desired behavior here? Eg in let x = "foo, bar", y = foo(1, 2)
x + y
end would you want to highlight the first |
Per the emacs manual, it would be traditional to highlight the first |
I started working on this. Ran into trouble. The problem is that assignment can occur in a lot of contexts in julia, and |
I have thought about this and for every regex-based approach I can think of there is some corner case. I am not sure this functionality is worth implementing what amounts to a subset of the Julia parser. I would be inclined to close it as |
I'd leave it open for discoverability if it was me. Having just skimmed the indentation code, we already actually implement a surprisingly large subset of the julia parser; if someone wanted to do the work, I don't think it would be a bad thing to have. |
Ref JuliaLang/julia#8723
The text was updated successfully, but these errors were encountered: