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
I like the current defaults for how sorting works, except in Rust. What is the best way to change the sorting comparators just for Rust?
Would it make sense to make a Rust-specific ftplugin where I replace the comparators list, similar to what is shown here: #666 (comment)
If that is the right way of doing this, do I need to worry about reloading the default comparators list for all other languages if I change to a buffer for a non-Rust language without restarting neovim?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I like the current defaults for how sorting works, except in Rust. What is the best way to change the sorting comparators just for Rust?
Would it make sense to make a Rust-specific ftplugin where I replace the comparators list, similar to what is shown here: #666 (comment)
If that is the right way of doing this, do I need to worry about reloading the default comparators list for all other languages if I change to a buffer for a non-Rust language without restarting neovim?
Beta Was this translation helpful? Give feedback.
All reactions