Skip to content

Commit e3e35e8

Browse files
committed
spelling: variable
Signed-off-by: Josh Soref <[email protected]>
1 parent 9315e11 commit e3e35e8

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

assets/syntaxes/Packages/C++/syntax_test_cpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ A<B<C>> f(std::function<A<B<C>>()> g) {
659659
}
660660
int main() {
661661
std::function<C()> foo1;
662-
/* ^ - variabe.function */
662+
/* ^ - variable.function */
663663
std::function<B<C>()> foo2;
664664
/* ^ - variable.function */
665665
auto f = [](std::function<A<B<C>>()> g) { return g(); };

assets/syntaxes/Packages/Objective-C/syntax_test_objc++.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ static bool decode(const Node& node, T& sequence) {
656656
}
657657
int main() {
658658
std::function<C()> foo1;
659-
/* ^ - variabe.function */
659+
/* ^ - variable.function */
660660
std::function<B<C>()> foo2;
661661
/* ^ - variable.function */
662662
auto f = [](std::function<A<B<C>>()> g) { return g(); };

assets/syntaxes/Packages/PHP/syntax_test_php.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,22 +1242,22 @@ function generate2()
12421242
// ^ meta.regex.modifier
12431243
// ^ string.quoted.single
12441244

1245-
preg_replace("/[a-zSOME_CHAR]*+\'\n $vairble \1 \\1/m");
1246-
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string.quoted.double
1245+
preg_replace("/[a-zSOME_CHAR]*+\'\n $variable \1 \\1/m");
1246+
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string.quoted.double
12471247
// ^ punctuation.definition.string.regex-delimiter.begin
1248-
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source.regexp
1248+
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source.regexp
12491249
// ^ punctuation.definition.character-class.begin.regexp
12501250
// ^^^ constant.other.character-class.range.regexp
12511251
// ^^^^^^^^^ constant.other.character-class.set.regexp
12521252
// ^ punctuation.definition.character-class.end.regexp
12531253
// ^^ keyword.operator.quantifier
12541254
// ^^^^ constant.character.escape
12551255
// ^ punctuation.definition.variable
1256-
// ^^ constant.character.escape
1257-
// ^^ constant.character.escape
1258-
// ^ punctuation.definition.string.regex-delimiter.end
1259-
// ^ meta.regex.modifier
1260-
// ^ string.quoted.double
1256+
// ^^ constant.character.escape
1257+
// ^^ constant.character.escape
1258+
// ^ punctuation.definition.string.regex-delimiter.end
1259+
// ^ meta.regex.modifier
1260+
// ^ string.quoted.double
12611261

12621262
preg_replace("/^(?=foo)|(?>a|b|\s*)|(?im:toggle)(?#comment)$/uxS");
12631263
// ^ punctuation.definition.string.regex-delimiter.begin

assets/syntaxes/Packages/Perl/syntax_test_perl.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1626,7 +1626,7 @@ =head1 B<--param>
16261626
# ^^^^^^^^^^^^^^ meta.function-call.perl
16271627
# ^^ support.function.perl
16281628
# ^ punctuation.section.generic.begin.perl
1629-
# ^^^^ meta.string.perl string.unquoted.perl - bariable
1629+
# ^^^^ meta.string.perl string.unquoted.perl - variable
16301630
# ^^^^ meta.string.perl meta.interpolation.perl variable.other.readwrite.perl - string
16311631
# ^^ meta.string.perl string.unquoted.perl - variable
16321632
# ^ punctuation.section.generic.end.perl

0 commit comments

Comments
 (0)