-
-
Notifications
You must be signed in to change notification settings - Fork 49
Feat: Inlay hints on the end of let/attrset bindings #170
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
Conversation
I think what's left to do is the detection of "what's a trivial expression" and hide those, so the hints don't get annoying. Here are some ideas, what do you think?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the work! The approach looks good to me.
6965736
to
bcbafd1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logic looks good to me now. Just the CI failure needs to be fixed.
Yep, I just figured out how to run that locally. Sorry about that! |
Thanks! |
Attempt to implement #166.
I haven't figured out the best way to match on the ast.
It would be nice to match on the shape
{ attrName = <expr> ; }
, where we displayattrName
right after<expr>
or the semicolon.