aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-10-15 08:39:08 +0800
committerGitHub <noreply@github.com>2024-10-15 08:39:08 +0800
commit09e7f19511ebb681497cc15ae08a569fe3a63cdb (patch)
treeb96be849d6073d1a03ec3c60b1aa40eaab4bc867 /src
parent4846bf05dc639592c73135fb6f1a69f410c1c40f (diff)
parentdbd172e7e953bdab7132bd635532295a4dc64af9 (diff)
downloadrneovim-09e7f19511ebb681497cc15ae08a569fe3a63cdb.tar.gz
rneovim-09e7f19511ebb681497cc15ae08a569fe3a63cdb.tar.bz2
rneovim-09e7f19511ebb681497cc15ae08a569fe3a63cdb.zip
Merge pull request #30817 from zeertzjq/vim-7b5e52d
vim-patch: doc updates
Diffstat (limited to 'src')
-rw-r--r--src/nvim/options.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index f20933d172..3c3eaaf5a1 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -435,12 +435,13 @@ return {
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
@@ -8356,7 +8357,7 @@ return {
Examples:
Emulate standard status line with 'ruler' set >vim
- set statusline=%<%f\ %h%m%r%=%-14.(%l,%c%V%)\ %P
+ set statusline=%<%f\ %h%w%m%r%=%-14.(%l,%c%V%)\ %P
< Similar, but add ASCII value of char under the cursor (like "ga") >vim
set statusline=%<%f%h%m%r%=%b\ 0x%B\ \ %l,%c%V\ %P
< Display byte count and byte value, modified flag in red. >vim