Skip to content

Commit

Permalink
use default indent
Browse files Browse the repository at this point in the history
  • Loading branch information
bomgar committed Dec 1, 2023
1 parent db4144a commit d2d0c95
Show file tree
Hide file tree
Showing 22 changed files with 1,855 additions and 1,856 deletions.
9 changes: 4 additions & 5 deletions .editorconfig
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

2 changes: 1 addition & 1 deletion rustfmt.toml
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
28 changes: 14 additions & 14 deletions src/app/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion src/config/metadata_from_repository.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct MetadataFromRepository {
pub tags: Option<BTreeSet<String>>,
pub tags: Option<BTreeSet<String>>,
}
Loading

0 comments on commit d2d0c95

Please sign in to comment.