zed/assets
Tim Masliuchenko 7855b9e9a8
Allow to handle autoclosed characters differently (#8666)
Adds the `always_treat_brackets_as_autoclosed` setting to control how
the autoclosed characters are handled.

The setting is off by default, meaning the behaviour stays the same
(following how VSCode handles autoclosed characters).
When set to `true`, the autoclosed characters are always skipped over
and auto-removed no matter how they were inserted (following how Sublime
Text/Xcode handle this).


https://github.com/zed-industries/zed/assets/471335/304cd04a-59fe-450f-9c65-cc31b781b0db


https://github.com/zed-industries/zed/assets/471335/0f5b09c2-260f-48d4-8528-23f122dee45f

Release Notes:

- Added the setting `always_treat_brackets_as_autoclosed` (default:
`false`) to always treat brackets as "auto-closed" brackets, i.e.
deleting the pair when deleting start/end, etc.
([#7146](https://github.com/zed-industries/zed/issues/7146)).

---------

Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
2024-03-20 09:35:42 +01:00
..
contexts
fonts Remove unused font 2024-01-24 13:14:47 +01:00
icons Channel chat: Add edit message (#9035) 2024-03-19 19:49:04 -06:00
keymaps Channel chat: Add edit message (#9035) 2024-03-19 19:49:04 -06:00
settings Allow to handle autoclosed characters differently (#8666) 2024-03-20 09:35:42 +01:00
sounds
themes Rosé Pine: Change #f5c177 to #f6c177 (#9232) 2024-03-12 09:35:34 -07:00