-
Notifications
You must be signed in to change notification settings - Fork 152
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
[suggestion] Add syntax group for built-in module attributes #533
Comments
This seems reasonable - these are currently mapped to Line 55 in 53c530f
We coud swap that to My only ask would be that we retain the default mapping to Line 218 in 53c530f
I think folks who want to have the functionality you're suggesting should opt-in to it by setting up a special-case rule in their color scheme |
Agreed! Though would you be down for calling it out in the README? Otherwise, unless you use something like scriptease, it's not very discoverable. I do notice that documentation is on the TODO list. I'd be happy to contribute to documentation, or at least some of it. I do love writing docs 🤓
Would there be any worries around breaking peoples' current configs? I was just thinking of introducing Thanks! |
Yep - that's fine
That would be amazing if you're into it. Vim
I'm not that concerned. The risk feels low and the impact should be low too (plugin should still work, they can roll back a version if they want to). If it did break anyone it would be after upgrading, and they should (hopefully) be able to see this change and either adapt to it or race a concern here. I think the approach you mention is fine too, but I think there is value to special casing module attributes in general A bigger breakage might be that some other variable starts with |
Apologies for the long delay here. I have something working but I'm having all sorts of trouble running the tests. I tried both methods. The docker one in particular makes little sense to me. After running |
Ok, after doing some digging I realize I really don't know how to use docker. So after running:
Then running what I assume is the actual command I'm supposed to run:
I get the following error:
|
Would you be open to a PR that adds a syntax group for Elixir's built-in module attributes?
This is a nice-to-have which:
Thanks for reviewing and no worries if the answer is no!
The text was updated successfully, but these errors were encountered: