fix: save without formatting now calls save (#2820)

This commit is contained in:
Dimitri Tabatadze 2023-11-28 15:14:17 +04:00 committed by GitHub
parent 592cbc7b6f
commit d8452a1e49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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));
}