Do not enable copilot for always read-only editors (#16356)

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov 2024-08-16 17:22:47 +03:00 committed by GitHub
parent 0fe22f2a48
commit f1a2638d29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 20 additions and 13 deletions

View file

@ -78,6 +78,7 @@ impl WorkflowStepView {
editor.set_show_wrap_guides(false, cx);
editor.set_show_indent_guides(false, cx);
editor.set_read_only(true);
editor.set_show_inline_completions(false);
editor.insert_blocks(
[
BlockProperties {