]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.0105: Style: typos found v9.1.0105
authorzeertzjq <zeertzjq@outlook.com>
Tue, 13 Feb 2024 19:32:04 +0000 (20:32 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 13 Feb 2024 19:32:04 +0000 (20:32 +0100)
Problem:  Style: typos found
Solution: correct them
          (zeertzjq)

closes: #14023

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/regexp.c
src/testdir/test_mapping.vim
src/testdir/test_utf8_comparisons.vim
src/testdir/test_vim9_class.vim
src/testdir/test_vim9_typealias.vim
src/testdir/test_visual.vim
src/version.c

index 73552015e99993fb3a39ce6d7b6e7ce733e2e1c8..4373ae0cfaf41f6e875db7990471e16fded85bc0 100644 (file)
@@ -1318,8 +1318,7 @@ reg_match_visual(void)
            top = curbuf->b_visual.vi_end;
            bot = curbuf->b_visual.vi_start;
        }
-       // a substitue command may have
-       // removed some lines
+       // a substitute command may have removed some lines
        if (bot.lnum > curbuf->b_ml.ml_line_count)
            bot.lnum = curbuf->b_ml.ml_line_count;
        mode = curbuf->b_visual.vi_mode;
index e361f3e65d51452d39d0b7ab149c37a96f06902a..71d90468ba710113cddb58da4e6bc678f7c121f3 100644 (file)
@@ -120,7 +120,7 @@ func Test_map_langmap()
   unmap x
   bwipe!
 
-  " 'langnoremap' follows 'langremap' and vise versa
+  " 'langnoremap' follows 'langremap' and vice versa
   set langremap
   set langnoremap
   call assert_equal(0, &langremap)
index 20b5762c9dd90b8f805b43be4e18ba451db79dbd..2c1972b0871f7012c9da0e67e8999550cdd44a4d 100644 (file)
@@ -93,7 +93,7 @@ func Test_gap()
   call assert_equal(["ABCD", "", "defg"], getline(1,3))
 endfunc
 
-" test that g~, ~ and gU correclty upper-cases ß
+" test that g~, ~ and gU correctly upper-cases ß
 func Test_uppercase_sharp_ss()
   new
   call setline(1, repeat(['ß'], 4))
index 62a6d043d9d204102826e8cc985d910e10465997..0bf7e9ceb60772726c6c8d6db934eb5e6b8da32c 100644 (file)
@@ -67,7 +67,7 @@ def Test_class_basic()
   END
   v9.CheckSourceFailure(lines, "E488: Trailing characters: | echo 'done'", 3)
 
-  # Use old "this." prefixed member variable declaration syntax (without intialization)
+  # Use old "this." prefixed member variable declaration syntax (without initialization)
   lines =<< trim END
     vim9script
     class Something
@@ -76,7 +76,7 @@ def Test_class_basic()
   END
   v9.CheckSourceFailure(lines, 'E1318: Not a valid command in a class: this.count: number', 3)
 
-  # Use old "this." prefixed member variable declaration syntax (with intialization)
+  # Use old "this." prefixed member variable declaration syntax (with initialization)
   lines =<< trim END
     vim9script
     class Something
index 41557445cd198815e90ea2e4e47f8e2ded24a307..998079cf6f2c44a9acb6c34964d811d1b113c1ae 100644 (file)
@@ -641,7 +641,7 @@ def Test_type_as_func_argument_or_return_value()
   END
   v9.CheckScriptFailure(lines, 'E1407: Cannot use a Typealias as a variable or value', 1)
 
-  # check defered function using typealias as arg
+  # check deferred function using typealias as arg
   lines =<< trim END
     vim9script
     type A = number
@@ -764,7 +764,7 @@ def Test_class_as_func_argument_or_return_value()
   END
   v9.CheckScriptFailure(lines, 'E1405: Class "C" cannot be used as a value', 1)
 
-  # check defered function using class typealias as arg
+  # check deferred function using class typealias as arg
   lines =<< trim END
     vim9script
     class C
index 066d7ebb25145a116ce386436e1c380da6fc4662..17f0fd06870eabfe5582980751ff3f0f37d7f31b 100644 (file)
@@ -1008,7 +1008,7 @@ endfunc
 " Test for changing case
 func Test_visual_change_case()
   new
-  " gUe must uppercase a whole word, also when ß changes to SS
+  " gUe must uppercase a whole word, also when ß changes to 
   exe "normal Gothe youtußeuu end\<Esc>Ypk0wgUe\r"
   " gUfx must uppercase until x, inclusive.
   exe "normal O- youßtußexu -\<Esc>0fogUfx\r"
index 17a789948a3c9dace86ade44494cf935395ff9b1..65b653099f1900bdd3ff437d29c841143a8e1caa 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    105,
 /**/
     104,
 /**/