Replies: 1 comment
-
The generation command is temporary and will be removed once all users have migrated. The documented on_attach is low level and very explicit for clarity and complete freedom. The opacity of Your mapping loop is quite nice, but the definitions are not much shorter than the recommended... I'd be most grateful if you posted this as a Recipe |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to refactor the code generated by the new on_attach function? The actual code is easy to understand for sure, but if we could have something like this would improve not only readability, but maintainability as well.
Before
Refactor
It is a simple, yet good solution for long lines of code.
Beta Was this translation helpful? Give feedback.
All reactions