docs: wrap_guides (#12992)
- Add 'wrap_guides' to website config docs. - Add the word 'ruler' to improve searchability.
This commit is contained in:
parent
902d7150fe
commit
0f59607100
3 changed files with 19 additions and 9 deletions
|
@ -71,12 +71,12 @@ pub struct LanguageSettings {
|
|||
/// The column at which to soft-wrap lines, for buffers where soft-wrap
|
||||
/// is enabled.
|
||||
pub preferred_line_length: u32,
|
||||
/// Whether to show wrap guides in the editor. Setting this to true will
|
||||
/// show a guide at the 'preferred_line_length' value if softwrap is set to
|
||||
/// 'preferred_line_length', and will show any additional guides as specified
|
||||
/// by the 'wrap_guides' setting.
|
||||
// Whether to show wrap guides (vertical rulers) in the editor.
|
||||
// Setting this to true will show a guide at the 'preferred_line_length' value
|
||||
// if softwrap is set to 'preferred_line_length', and will show any
|
||||
// additional guides as specified by the 'wrap_guides' setting.
|
||||
pub show_wrap_guides: bool,
|
||||
/// Character counts at which to show wrap guides in the editor.
|
||||
/// Character counts at which to show wrap guides (vertical rulers) in the editor.
|
||||
pub wrap_guides: Vec<usize>,
|
||||
/// Indent guide related settings.
|
||||
pub indent_guides: IndentGuideSettings,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue