Trigger formatting effects when saving unmodified singleton buffers (#32603)
Closes https://github.com/zed-industries/zed/issues/12091 Use `"save_non_dirty_buffers": false` editor settings to disable this behavior. Release Notes: - Fixed formatting effects not triggered when saving unmodified singleton buffers
This commit is contained in:
parent
7ecad2bef9
commit
5e07d0f6de
5 changed files with 68 additions and 21 deletions
|
@ -219,6 +219,9 @@
|
|||
"inline_code_actions": true,
|
||||
// Whether to allow drag and drop text selection in buffer.
|
||||
"drag_and_drop_selection": true,
|
||||
// Whether to save singleton buffers that are not dirty.
|
||||
// This will "touch" the file and related tools enabled, e.g. formatters.
|
||||
"save_non_dirty_buffers": true,
|
||||
// What to do when go to definition yields no results.
|
||||
//
|
||||
// 1. Do nothing: `none`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue