Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kirawi committed Sep 21, 2022
1 parent 44e5a40 commit 8b315ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ default-members = [
"helix-term"
]

[profile.dev]
split-debuginfo = "unpacked"

[profile.release]
lto = "thin"
# debug = true
Expand Down
3 changes: 3 additions & 0 deletions helix-term/src/commands/typed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,10 @@ fn trim(cx: &mut compositor::Context, args: &[Cow<str>], event: PromptEvent) ->
let mode = args.get(0).unwrap_or(&Cow::Borrowed("all"));
let (view, doc) = current!(cx.editor);

let selections = doc.selection(view.id)

if mode == "all" || mode == "spaces" {

let mut pos = 0;
let transaction = Transaction::change(
doc.text(),
Expand Down

0 comments on commit 8b315ca

Please sign in to comment.