summaryrefslogtreecommitdiff
path: root/src/help.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-18 19:49:56 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-18 19:49:56 +0100
commit8e7d6223f630690b72b387eaed704bf01f3f29d2 (patch)
treeb2e694bda1dbae28776d68f9babbb42d27e5c730 /src/help.c
parent3beaf9cd8efa3ba83e07187215004d140b89d529 (diff)
downloadvim-git-8e7d6223f630690b72b387eaed704bf01f3f29d2.tar.gz
patch 8.2.2160: various typosv8.2.2160
Problem: Various typos. Solution: Fix spelling mistakes. (closes #7494)
Diffstat (limited to 'src/help.c')
-rw-r--r--src/help.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/help.c b/src/help.c
index d6bdcbb70..ee6ff1851 100644
--- a/src/help.c
+++ b/src/help.c
@@ -325,7 +325,7 @@ find_help_tags(
char_u *s, *d;
int i;
// Specific tags that either have a specific replacement or won't go
- // throught the generic rules.
+ // through the generic rules.
static char *(except_tbl[][2]) = {
{"*", "star"},
{"g*", "gstar"},
@@ -647,6 +647,8 @@ prepare_help_buffer(void)
// Always set these options after jumping to a help tag, because the
// user may have an autocommand that gets in the way.
+ // When adding an option here, also update the help file helphelp.txt.
+
// Accept all ASCII chars for keywords, except ' ', '*', '"', '|', and
// latin1 word characters (for translated help files).
// Only set it when needed, buf_init_chartab() is some work.