diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-02-13 20:32:04 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-02-13 20:32:04 +0100 |
commit | e71022082d6a8bd8ec3d7b9dadf3f9ce46ef339c (patch) | |
tree | a9013c4febc347946d49036960b0a9dde4079a0f /src | |
parent | 2f9aef42af94f6d68f37f6e9b8cb878e88ed12bf (diff) |
patch 9.1.0105: Style: typos foundv9.1.0105
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/regexp.c | 3 | ||||
-rw-r--r-- | src/testdir/test_mapping.vim | 2 | ||||
-rw-r--r-- | src/testdir/test_utf8_comparisons.vim | 2 | ||||
-rw-r--r-- | src/testdir/test_vim9_class.vim | 4 | ||||
-rw-r--r-- | src/testdir/test_vim9_typealias.vim | 4 | ||||
-rw-r--r-- | src/testdir/test_visual.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
7 files changed, 10 insertions, 9 deletions
diff --git a/src/regexp.c b/src/regexp.c index 73552015e9..4373ae0cfa 100644 --- a/src/regexp.c +++ b/src/regexp.c @@ -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; diff --git a/src/testdir/test_mapping.vim b/src/testdir/test_mapping.vim index e361f3e65d..71d90468ba 100644 --- a/src/testdir/test_mapping.vim +++ b/src/testdir/test_mapping.vim @@ -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) diff --git a/src/testdir/test_utf8_comparisons.vim b/src/testdir/test_utf8_comparisons.vim index 20b5762c9d..2c1972b087 100644 --- a/src/testdir/test_utf8_comparisons.vim +++ b/src/testdir/test_utf8_comparisons.vim @@ -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)) diff --git a/src/testdir/test_vim9_class.vim b/src/testdir/test_vim9_class.vim index 62a6d043d9..0bf7e9ceb6 100644 --- a/src/testdir/test_vim9_class.vim +++ b/src/testdir/test_vim9_class.vim @@ -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 diff --git a/src/testdir/test_vim9_typealias.vim b/src/testdir/test_vim9_typealias.vim index 41557445cd..998079cf6f 100644 --- a/src/testdir/test_vim9_typealias.vim +++ b/src/testdir/test_vim9_typealias.vim @@ -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 diff --git a/src/testdir/test_visual.vim b/src/testdir/test_visual.vim index 066d7ebb25..17f0fd0687 100644 --- a/src/testdir/test_visual.vim +++ b/src/testdir/test_visual.vim @@ -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" diff --git a/src/version.c b/src/version.c index 17a789948a..65b653099f 100644 --- a/src/version.c +++ b/src/version.c @@ -705,6 +705,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 105, +/**/ 104, /**/ 103, |