lattice_host/vcs/options.rs
1lattice_config::options! {
2 group = lattice_config::Display;
3
4 /// When `true`, files opened in a git repository automatically
5 /// register a diff session against HEAD, showing gutter signs
6 /// for added/removed/modified lines.
7 ///
8 /// Default `true`. Set to `false` to suppress auto-gutter-diff
9 /// (the manual `:diff` / `:diffoff` commands still work).
10 #[name("git.auto-head-diff")]
11 pub GitAutoHeadDiff: bool = true;
12}