diff --git a/CHANGELOG.md b/CHANGELOG.md index 146cdcd8..2a8e10ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ ### Bug Fixes - [#2754](https://github.com/lapce/lapce/pull/2754): Don't mark nonexistent files as read only (fix saving new files) +- [#2819](https://github.com/lapce/lapce/issues/2819): `Save Witohut Formatting` doesn't save the file ## 0.3.0 diff --git a/lapce-app/src/editor.rs b/lapce-app/src/editor.rs index 271cafef..515d8228 100644 --- a/lapce-app/src/editor.rs +++ b/lapce-app/src/editor.rs @@ -756,6 +756,9 @@ pub fn run_focus_command( FocusCommand::Save => { self.save(true, || {}); } + FocusCommand::SaveWithoutFormatting => { + self.save(false, || {}); + } FocusCommand::InlineFindLeft => { self.inline_find.set(Some(InlineFindDirection::Left)); }