Commit: runtime(doc): remove unnecessary "an"

0 views
Skip to first unread message

Christian Brabandt

unread,
Mar 12, 2025, 4:30:14 PMMar 12
to vim...@googlegroups.com
runtime(doc): remove unnecessary "an"

Commit: https://github.com/vim/vim/commit/c1c3b5d6a0a3032057bf6de8672cc79100bb73c9
Author: zeertzjq <zeer...@outlook.com>
Date: Wed Mar 12 21:16:13 2025 +0100

runtime(doc): remove unnecessary "an"

"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

Signed-off-by: zeertzjq <zeer...@outlook.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index ec1088933..b7df7c561 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -7588,7 +7588,7 @@ mkdir({name} [, {flags} [, {prot}]]) *mkdir()* *E739*
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: >
:call mkdir($HOME .. "/tmp/foo/bar", "p", 0o700)

Reply all
Reply to author
Forward
0 new messages