Open JosephTLyons opened 6 years ago
Even with the "Soft Wrap at Preferred Line Length" option selected, the package isn't respecting where I set my Wrap Guide at.
From what I can tell what is going on here is that this package creates a rust language specific Preferred Line Length setting ('preferredLineLength': 99
), but in the package's settings it says it is using Atom's default of 80, even though it is actually using its default of 99. This is the only issue that I have observed.
Disabling this package cedes "control" of the line length to the global setting, which is what you are noticing. Re-enabling allows it to take back control.
I assume this setting is in place because it is typical Rust to have such a line length, while other languages might not have a typically used length. So I believe what you are observing is the intended behavior of this package.
Although I am curious, why do you want to change the line length in your Rust files so frequently?
I frequently switch my wrap guide setting from 100 columns to 80 columns, when switching from coding to writing documentation, but I recently noticed that when i switch to 80 columns, the wrap guide doesn't move in Rust files. I didn't know what was causing it, but when I disable this package, the wrap guide goes back to respecting the setting I have set for it.
Setting at 80 columns:
Wrap guide is actually at 100:
Disabling this package:
Wrap guide jumps back: