]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): fix a few small problems master
authorzeertzjq <zeertzjq@outlook.com>
Sat, 23 May 2026 16:07:16 +0000 (16:07 +0000)
committerChristian Brabandt <cb@256bit.org>
Sat, 23 May 2026 16:07:16 +0000 (16:07 +0000)
closes: #20287

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/map.txt
runtime/doc/syntax.txt
runtime/doc/usr_30.txt
src/socketserver.c
src/spellfile.c

index 58f27d099e55c5a8501fad03e32d6cca05789f4f..38de46c6579e8a98c83e64c74119ea0ae85246a2 100644 (file)
@@ -1,4 +1,4 @@
-*map.txt*      For Vim version 9.2.  Last change: 2026 May 21
+*map.txt*      For Vim version 9.2.  Last change: 2026 May 23
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -208,8 +208,7 @@ be effective in the current buffer only.  Example: >
 Then you can map ",w" to something else in another buffer: >
        :map <buffer>  ,w  /[#&!]<CR>
 The local buffer mappings are used before the global ones.  See <nowait> below
-to make a short local mapping taking effect when a longer global one
-exists.
+to make a short local mapping take effect when a longer global one exists.
 The "<buffer>" argument can also be used to clear mappings: >
        :unmap <buffer> ,w
        :mapclear <buffer>
index b1a18644a1e82a345ed644cdef438efac65317a4..b9013eee69bca489e644f4e0594e211dfdc3f1a5 100644 (file)
@@ -852,7 +852,7 @@ See |ft-ada-syntax|
 ALGOL 68                                       *algol68* *ft-algol68-syntax*
 
 This syntax file currently targets the Algol 68 Genie project using the
-default UPPER stropping regime.  It should also be usuable in other
+default UPPER stropping regime.  It should also be usable in other
 environments using the UPPER stropping regime, though somewhat less complete.
 
 Highlighting can be further configured with the following variables.
index 7b9dbf1cb4bd10a07f581d7074ac0513626a572f..cae37499698ceccdf6d5e1b6a31b837199c773e7 100644 (file)
@@ -1,4 +1,4 @@
-*usr_30.txt*   For Vim version 9.2.  Last change: 2026 May 15
+*usr_30.txt*   For Vim version 9.2.  Last change: 2026 May 23
 
 
                     VIM USER MANUAL    by Bram Moolenaar
@@ -531,8 +531,8 @@ they do when using only tab characters.
   Vim 5.4 introduced the 'softtabstop' option.  On top of the (hard) tab stops
 used to display the horizontal tab characters in the text, Vim adds extra
 soft tab stops dedicated only to the cursor.  When 'softtabstop' is set to a
-positive value, the <Tab> key will push the cursor to the next soft tab
-stop.  Vim will insert the correct combination of tab characters and spaces to
+positive value, the <Tab> key will push the cursor to the next soft tab stop.
+Vim will insert the correct combination of tab characters and spaces to
 achieve this effect.  Likewise pressing <BS> will have the cursor try to
 reach the nearest soft tab stop.  The following example uses
 `:set softtabstop=4`
index bc98ae4e2bbc2c72a3781486a273371f260cc9de..48c00c358077a55e7f022d3cd0841739d98fdaaf 100644 (file)
@@ -698,7 +698,7 @@ socketserver_exec(channel_T *channel, dict_T *message)
            vim_free(result);
        }
        else
-           // Error occured, return error message
+           // Error occurred, return error message
            dict_add_string(dict, "str",
                    (char_u *)_(e_invalid_expression_received));
 
index f65bb642b7361fd20b525889eac01341bdf656ff..9ee7031e551d56ced24b91036bfb5af2cf099e0a 100644 (file)
@@ -635,7 +635,7 @@ tree_count_words(char_u *byts, long byts_len, idx_T *idxs)
                ++wordcount[depth];
 
                // Skip over any other NUL bytes (same word with different
-               // flags).  But don't go over the end
+               // flags).  But don't go over the end.
                while (n + 1 < byts_len && byts[n + 1] == 0)
                {
                    ++n;
@@ -1650,7 +1650,7 @@ read_tree_node(
     idx_T      startidx,           // current index in "byts" and "idxs"
     int                prefixtree,         // TRUE for reading PREFIXTREE
     int                maxprefcondnr,      // maximum for <prefcondnr>
-    int                depth)              // recursiong level
+    int                depth)              // recursion level
 {
     int                len;
     int                i;
@@ -5663,7 +5663,7 @@ sug_filltree(spellinfo_T *spin, slang_T *slang)
                spin->si_blocks_cnt = 0;
 
                // Skip over any other NUL bytes (same word with different
-               // flags).  But don't go over the end
+               // flags).  But don't go over the end.
                while (n + 1 < slang->sl_fbyts_len && byts[n + 1] == 0)
                {
                    ++n;