aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/options.lua
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 /runtime/lua/vim/_meta/options.lua
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 'runtime/lua/vim/_meta/options.lua')
-rw-r--r--runtime/lua/vim/_meta/options.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index ce3ff4f861..36c0f583c7 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -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
@@ -6695,7 +6696,7 @@ vim.wo.stc = vim.wo.statuscolumn
--- 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")
---