How do I modify some Rust item using an autocommand callback? #207
-
When I try doing this in autocommand callbacks, I get an error telling me that callbacks expect |
Beta Was this translation helpful? Give feedback.
Answered by
noib3
Dec 25, 2024
Replies: 1 comment 1 reply
-
Use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dasupradyumna
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use
Function::from_fn_mut()
.