Add a setting "use_autoclose" to control autoclose

Also disable autoclose for Chat
This commit is contained in:
Conrad Irwin 2024-01-20 13:32:31 -07:00
parent 72689b08cc
commit 778856c101
4 changed files with 24 additions and 1 deletions

View file

@ -40,6 +40,7 @@ impl MessageEditor {
) -> Self {
editor.update(cx, |editor, cx| {
editor.set_soft_wrap_mode(SoftWrap::EditorWidth, cx);
editor.set_use_autoclose(false);
});
let buffer = editor