aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-03-13 07:15:19 +0800
committerGitHub <noreply@github.com>2025-03-13 07:15:19 +0800
commit785e620700df800810dc45a965dcc99573a3b7a3 (patch)
tree7c672e962fe2e1ae5a95e04ad64b33d7545c490c
parentc78728a3844c8ad90265b52e56db9c62d54effba (diff)
downloadrneovim-785e620700df800810dc45a965dcc99573a3b7a3.tar.gz
rneovim-785e620700df800810dc45a965dcc99573a3b7a3.tar.bz2
rneovim-785e620700df800810dc45a965dcc99573a3b7a3.zip
vim-patch:c1c3b5d: runtime(doc): remove unnecessary "an" (#32865)
"umask" is pronounce like "youmask", so having an "an" before it is a bit strange. In other places in the help, "umask" is not preceded by either "a" or "an", and sometimes preceded by "the". Also, "Note" is usually followed either by ":" or "that" in builtin.txt, so add a ":" after "Note". closes: 16860 https://github.com/vim/vim/commit/c1c3b5d6a0a3032057bf6de8672cc79100bb73c9
-rw-r--r--runtime/doc/builtin.txt2
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua2
-rw-r--r--src/nvim/eval.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 1c6f1bf006..9214b33519 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -6797,7 +6797,7 @@ mkdir({name} [, {flags} [, {prot}]]) *mkdir()* *E73
the new directory. The default is 0o755 (rwxr-xr-x: r/w for
the user, readable for others). Use 0o700 to make it
unreadable for others. This is used for the newly created
- directories. Note an umask is applied to {prot} (on Unix).
+ directories. Note: umask is applied to {prot} (on Unix).
Example: >vim
call mkdir($HOME .. "/tmp/foo/bar", "p", 0o700)
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index 6c2b6af583..6ffd0e9619 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -6174,7 +6174,7 @@ function vim.fn.min(expr) end
--- the new directory. The default is 0o755 (rwxr-xr-x: r/w for
--- the user, readable for others). Use 0o700 to make it
--- unreadable for others. This is used for the newly created
---- directories. Note an umask is applied to {prot} (on Unix).
+--- directories. Note: umask is applied to {prot} (on Unix).
--- Example: >vim
--- call mkdir($HOME .. "/tmp/foo/bar", "p", 0o700)
---
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index 7630ff9d77..eb3956d155 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -7551,7 +7551,7 @@ M.funcs = {
the new directory. The default is 0o755 (rwxr-xr-x: r/w for
the user, readable for others). Use 0o700 to make it
unreadable for others. This is used for the newly created
- directories. Note an umask is applied to {prot} (on Unix).
+ directories. Note: umask is applied to {prot} (on Unix).
Example: >vim
call mkdir($HOME .. "/tmp/foo/bar", "p", 0o700)