patch 9.1.1319: Various typos in the code, issue with test_inst_complete.vim

Commit: 
https://github.com/vim/vim/commit/98800979dc109e03f390a0472b14ed89189e02fe
Author: zeertzjq <zeert...@outlook.com>
Date:   Fri Apr 18 10:57:33 2025 +0200

    patch 9.1.1319: Various typos in the code, issue with test_inst_complete.vim
    
    Problem:  Various typos in the code, redundant and strange use of
              :execute in test_ins_complete.vim (after 9.1.1315).
    Solution: Fix typos in the code and in the documentation, use the
              executed command directly (zeertzjq).
    
    closes: #17143
    
    Co-authored-by: Christ van Willegen <cvwille...@gmail.com>
    Signed-off-by: zeertzjq <zeert...@outlook.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt
index d97d230e9..18e2caec7 100644
--- a/runtime/doc/develop.txt
+++ b/runtime/doc/develop.txt
@@ -1,4 +1,4 @@
-*develop.txt*   For Vim version 9.1.  Last change: 2024 Dec 25
+*develop.txt*   For Vim version 9.1.  Last change: 2025 Apr 18
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -192,7 +192,7 @@ For any non-trivial change, please always create a pull 
request on github,
 since this triggers the test suite.
 
                                                        *style-clang-format*
-sound.c and sign.c can be (semi-) automatically formated using the
+sound.c and sign.c can be (semi-) automatically formatted using the
 `clang-format` formatter according to the distributed .clang-format file.
 Other source files do not yet correspond to the .clang-format file.  This may
 change in the future and they may be reformatted as well.
diff --git a/runtime/doc/version9.txt b/runtime/doc/version9.txt
index a5579f4ab..4fb322708 100644
--- a/runtime/doc/version9.txt
+++ b/runtime/doc/version9.txt
@@ -1,4 +1,4 @@
-*version9.txt*  For Vim version 9.1.  Last change: 2025 Apr 16
+*version9.txt*  For Vim version 9.1.  Last change: 2025 Apr 18
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -41594,7 +41594,7 @@ Default values: ~
 - the default 'backspace' option for Vim has been set to "indent,eol,start"
   and removed from |defaults.vim|
 - the default fontsize for the GTK builds of Vim (Windows and Unix) has been
-  increased to 12pt to accomodate modern high-dpi monitors
+  increased to 12pt to accommodate modern high-dpi monitors
 - the default value of the 'keyprotocol' option has been updated and support
   for the ghostty terminal emulator (using kitty protocol) has been added
 
@@ -41739,7 +41739,7 @@ Ex-Commands: ~
 Options: ~
 
 'chistory'             Size of the quickfix stack |quickfix-stack|.
-'completefuzzycollect' Enable fuzzy collection of candiates for (some)
+'completefuzzycollect' Enable fuzzy collection of candidates for (some)
                        |ins-completion| modes
 'completeitemalign'    Order of |complete-items| in Insert mode completion
                        popup
diff --git a/src/diff.c b/src/diff.c
index e694cf20c..ec108e985 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -3229,7 +3229,7 @@ diff_refine_inline_char_highlight(diff_T *dp_orig, 
garray_T *linemap, int idx1)
 }
 
 /*
- * Find the inline difference within a diff block among differnt buffers.  Do
+ * Find the inline difference within a diff block among different buffers.  Do
  * this by splitting each block's content into characters or words, and then
  * use internal xdiff to calculate the per-character/word diff.  The result is
  * stored in dp instead of returned by the function.
@@ -4548,7 +4548,7 @@ f_diff_hlID(typval_T *argvars UNUSED, typval_T *rettv 
UNUSED)
     {
        // Remember the results if using simple since it's recalculated per
        // call. Otherwise just call diff_find_change() every time since
-       // internally the result is cached interally.
+       // internally the result is cached internally.
        cache_results = FALSE;
     }
 
diff --git a/src/normal.c b/src/normal.c
index 6cd9004ad..ea30607d6 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -2786,7 +2786,7 @@ nv_zet(cmdarg_T *cap)
                }
                break;
 
-               // "zp", "zP" in block mode put without addind trailing spaces
+               // "zp", "zP" in block mode put without adding trailing spaces
     case 'P':
     case 'p':  nv_put(cap);
               break;
diff --git a/src/ops.c b/src/ops.c
index 0e3711eb7..b4b59de22 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -248,11 +248,11 @@ get_vts_sum(int *vts_array, int index)
     int        sum = 0;
     int        i;
 
-    // Perform the summation for indeces within the actual array.
+    // Perform the summation for indices within the actual array.
     for (i = 1; i <= index && i <= vts_array[0]; i++)
        sum += vts_array[i];
 
-    // Add topstops whose indeces exceed the actual array.
+    // Add tabstops whose indices exceed the actual array.
     if (i <= index)
        sum += vts_array[vts_array[0]] * (index - vts_array[0]);
 
diff --git a/src/os_unix.c b/src/os_unix.c
index dc08408de..de6e661ab 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -4434,7 +4434,7 @@ mch_report_winsize(int fd, int rows, int cols)
     ws.ws_col = cols;
     ws.ws_row = rows;
 
-    // calcurate and set tty pixel size
+    // calculate and set tty pixel size
     struct cellsize cs;
     mch_calc_cell_size(&cs);
 
diff --git a/src/quickfix.c b/src/quickfix.c
index 2b12fb5ec..2bc2f2d5f 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -119,7 +119,7 @@ struct qf_info_S
 };
 
 static qf_info_T ql_info_actual; // global quickfix list
-static qf_info_T *ql_info;     // points to ql_info_actual if memory 
allocation is sucessful.
+static qf_info_T *ql_info;     // points to ql_info_actual if memory 
allocation is successful.
 static int_u last_qf_id = 0;   // Last used quickfix list id
 
 #define FMT_PATTERNS 14                // maximum number of % recognized
diff --git a/src/term.c b/src/term.c
index 81b04e0dc..5c030ed20 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1710,7 +1710,7 @@ static char *(key_names[]) =
     // Do those ones first, both may cause a screen redraw.
     "Co",
     // disabled, because it switches termguicolors, but that
-    // is noticable and confuses users
+    // is noticeable and confuses users
     // "RGB",
 # endif
     "ku", "kd", "kr", "kl",
diff --git a/src/testdir/test_ins_complete.vim 
b/src/testdir/test_ins_complete.vim
index 916ad19fb..9d39b2a7f 100644
--- a/src/testdir/test_ins_complete.vim
+++ b/src/testdir/test_ins_complete.vim
@@ -3598,7 +3598,7 @@ func Test_complete_fuzzy_collect()
   call feedkeys("Gofuzzy\<C-X>\<C-N>\<C-N>\<C-N>\<C-Y>\<Esc>0", 'tx!')
   call assert_equal('completefuzzycollect', getline('.'))
 
-  execute('%d _')
+  %d _
   call setline(1, ['fuzzy', 'fuzzy foo', "fuzzy bar", 'fuzzycollect'])
   call feedkeys("Gofuzzy\<C-X>\<C-N>\<C-N>\<C-N>\<C-Y>\<Esc>0", 'tx!')
   call assert_equal('fuzzycollect', getline('.'))
diff --git a/src/version.c b/src/version.c
index a095b6782..952c74201 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1319,
 /**/
     1318,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1u5hZu-00ABG6-UJ%40256bit.org.

Raspunde prin e-mail lui