mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
vim-patch:5bcfb5a: runtime(doc): add some docs for file-watcher programs
fixes: vim/vim#15733
5bcfb5a30c
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
5
runtime/lua/vim/_meta/options.lua
generated
5
runtime/lua/vim/_meta/options.lua
generated
@@ -289,12 +289,13 @@ vim.go.bk = vim.go.backup
|
||||
--- useful for example in source trees where all the files are symbolic or
|
||||
--- hard links and any changes should stay in the local source tree, not
|
||||
--- be propagated back to the original source.
|
||||
--- *crontab*
|
||||
--- *crontab*
|
||||
--- One situation where "no" and "auto" will cause problems: A program
|
||||
--- that opens a file, invokes Vim to edit that file, and then tests if
|
||||
--- the open file was changed (through the file descriptor) will check the
|
||||
--- backup file instead of the newly created file. "crontab -e" is an
|
||||
--- example.
|
||||
--- example, as are several `file-watcher` daemons like inotify. In that
|
||||
--- case you probably want to switch this option.
|
||||
---
|
||||
--- When a copy is made, the original file is truncated and then filled
|
||||
--- with the new text. This means that protection bits, owner and
|
||||
|
||||
Reference in New Issue
Block a user