You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I enjoy using this project very much, there is just one issue.
(Recently?) I started to receive automatically inserted closing braces when I add an opening brace somewhere in my code.
I would like to disable this behaviour (ANY automatically inserted characters confuse me immensely), but I could not figure out how to do it and/or which component of rustic precisely is at fault.
Thankful for any pointers
The text was updated successfully, but these errors were encountered:
You should try setting lsp-enable-on-type-formatting to nil. This is a rust-analyzer bug (cf: rust-lang/rust-analyzer#16084 for more info). The latter post is suggesting to run the function (lsp-toggle-on-type-formatting), which drives the former variable and do some upkeeping of hooks after toggling the variable's value. I had more success with nil in the variable at rustic setup time.
Hello,
I enjoy using this project very much, there is just one issue.
(Recently?) I started to receive automatically inserted closing braces when I add an opening brace somewhere in my code.
I would like to disable this behaviour (ANY automatically inserted characters confuse me immensely), but I could not figure out how to do it and/or which component of rustic precisely is at fault.
Thankful for any pointers
The text was updated successfully, but these errors were encountered: