hide diagnostics in netrw previews

This commit is contained in:
Ray Elliott 2026-10-28 18:45:54 +00:00
commit 6a5e785a9f
4 changed files with 10 additions and 0 deletions

View file

@ -113,6 +113,7 @@ entries, and symbolic links are displayed without following them recursively.
File previews use Vim's syntax highlighting while Tree-sitter is suspended to
avoid asynchronous parser races during rapid replacement; normal Tree-sitter
highlighting resumes automatically when a previewed file is opened for editing.
Diagnostics are hidden in previews and restored to their prior state on edit.
Preview-only file buffers remain loaded but unlisted until Neovim exits, avoiding
the parser detachment that triggers this Neovim 0.12 race.