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

c1c3b5d6a0
This commit is contained in:
zeertzjq
2025-03-13 07:15:19 +08:00
committed by GitHub
parent c78728a384
commit 785e620700
3 changed files with 3 additions and 3 deletions

View File

@@ -6797,7 +6797,7 @@ mkdir({name} [, {flags} [, {prot}]]) *mkdir()* *E73
the new directory. The default is 0o755 (rwxr-xr-x: r/w for the new directory. The default is 0o755 (rwxr-xr-x: r/w for
the user, readable for others). Use 0o700 to make it the user, readable for others). Use 0o700 to make it
unreadable for others. This is used for the newly created 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 Example: >vim
call mkdir($HOME .. "/tmp/foo/bar", "p", 0o700) call mkdir($HOME .. "/tmp/foo/bar", "p", 0o700)

View File

@@ -6174,7 +6174,7 @@ function vim.fn.min(expr) end
--- the new directory. The default is 0o755 (rwxr-xr-x: r/w for --- the new directory. The default is 0o755 (rwxr-xr-x: r/w for
--- the user, readable for others). Use 0o700 to make it --- the user, readable for others). Use 0o700 to make it
--- unreadable for others. This is used for the newly created --- 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 --- Example: >vim
--- call mkdir($HOME .. "/tmp/foo/bar", "p", 0o700) --- call mkdir($HOME .. "/tmp/foo/bar", "p", 0o700)
--- ---

View File

@@ -7551,7 +7551,7 @@ M.funcs = {
the new directory. The default is 0o755 (rwxr-xr-x: r/w for the new directory. The default is 0o755 (rwxr-xr-x: r/w for
the user, readable for others). Use 0o700 to make it the user, readable for others). Use 0o700 to make it
unreadable for others. This is used for the newly created 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 Example: >vim
call mkdir($HOME .. "/tmp/foo/bar", "p", 0o700) call mkdir($HOME .. "/tmp/foo/bar", "p", 0o700)