mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 15:10:34 +01:00
dba13522d6
This mimics VSCode's `files.readonlyExclude` setting, to allow setting specific path matches as readonly locations like lockfiles and generated sources etc. Also renders a lock icon to the right side of the path names for readonly files now. This does a couple more things for completion sake: - Tabs of readonly buffers now render a file lock icon - Multibuffer buffer headers now render a file lock icon if the excerpts buffer is readonly - ReadWrite multibuffers now no longer allow edits to read only buffers contained within Release Notes: - Added `read_only_files` setting to allow specifying glob patterns of files that should not be editable by default --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com>