-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
1,855 additions
and
1,856 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
[*.rs] | ||
indent_style = space | ||
trim_trailing_whitespace = true | ||
indent_size = 4 | ||
max_line_length = 160 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tab_spaces = 2 | ||
tab_spaces = 4 | ||
max_width = 160 | ||
use_try_shorthand = true | ||
reorder_imports = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,21 +3,21 @@ use clap::{builder::EnumValueParser, crate_version, value_parser, Arg, ArgAction | |
use crate::setup::ProjectState; | ||
|
||
pub fn app() -> Command { | ||
let arg_with_fzf = Arg::new("with-fzf") | ||
.long("with-fzf") | ||
.short('f') | ||
.num_args(0) | ||
.action(ArgAction::SetTrue) | ||
.help("Integrate with fzf"); | ||
let arg_with_skim = Arg::new("with-skim") | ||
.long("with-skim") | ||
.short('s') | ||
.help("Integrate with skim") | ||
.conflicts_with("with-fzf") | ||
.action(ArgAction::SetTrue) | ||
.num_args(0); | ||
let arg_with_fzf = Arg::new("with-fzf") | ||
.long("with-fzf") | ||
.short('f') | ||
.num_args(0) | ||
.action(ArgAction::SetTrue) | ||
.help("Integrate with fzf"); | ||
let arg_with_skim = Arg::new("with-skim") | ||
.long("with-skim") | ||
.short('s') | ||
.help("Integrate with skim") | ||
.conflicts_with("with-fzf") | ||
.action(ArgAction::SetTrue) | ||
.num_args(0); | ||
|
||
Command::new("fw") | ||
Command::new("fw") | ||
.version(crate_version!()) | ||
.author("Brocode <[email protected]>") | ||
.about( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.