Rollup merge of #50229 - GuillaumeGomez:search-one-result, r=QuietMisdreavus
Add setting to go to item if there is only one result Fixes #50216. r? @QuietMisdreavus
This commit is contained in:
commit
e6889933e3
2 changed files with 59 additions and 31 deletions
|
@ -1595,6 +1595,8 @@ impl<'a> Settings<'a> {
|
|||
settings: vec![
|
||||
("item-declarations", "Auto-hide item declarations.", true),
|
||||
("item-attributes", "Auto-hide item attributes.", true),
|
||||
("go-to-only-result", "Directly go to item in search if there is only one result",
|
||||
false),
|
||||
],
|
||||
root_path,
|
||||
suffix,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue