mirror of
https://github.com/neovim/neovim.git
synced 2026-07-15 13:50:33 +00:00
test(autoread): cleanup
- Merged into the main "reloads on external change" test. - Reduce duplication. - Wall-clock down from ~4.4s to ~1.4s (dropped 3s debounce test).
This commit is contained in:
13
runtime/lua/vim/_meta/options.gen.lua
generated
13
runtime/lua/vim/_meta/options.gen.lua
generated
@@ -168,12 +168,13 @@ vim.o.ai = vim.o.autoindent
|
||||
vim.bo.autoindent = vim.o.autoindent
|
||||
vim.bo.ai = vim.bo.autoindent
|
||||
|
||||
--- When a file has been detected to have been changed outside of Vim and
|
||||
--- it has not been changed inside of Vim, automatically read it again.
|
||||
--- When the file has been deleted this is not done, so you have the text
|
||||
--- from before it was deleted. When it appears again then it is read.
|
||||
--- Nvim uses file system watchers to detect changes in real-time for all
|
||||
--- loaded buffers; see `timestamp` for details.
|
||||
--- When a file was changed outside of Nvim, automatically read it again.
|
||||
--- Skipped if the file was deleted, so you have the text from before it
|
||||
--- was deleted. If the file appears again then it is read. `timestamp`
|
||||
---
|
||||
--- This is partially driven by OS filewatcher events `uv_fs_event_t`, so
|
||||
--- even the current buffer may be updated.
|
||||
---
|
||||
--- If this option has a local value, use this command to switch back to
|
||||
--- using the global value:
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user