neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 785e620700df800810dc45a965dcc99573a3b7a3
parent c78728a3844c8ad90265b52e56db9c62d54effba
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Thu, 13 Mar 2025 07:15:19 +0800

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
Diffstat:
Mruntime/doc/builtin.txt | 2+-
Mruntime/lua/vim/_meta/vimfn.lua | 2+-
Msrc/nvim/eval.lua | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 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 @@ -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 @@ -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)