Skip to content

Commit 0b6ecc0

Browse files
committed
code_style: typo in s_extraGrammars
1 parent 80017d8 commit 0b6ecc0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Models/TextMateHelper.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace SourceGit.Models
1919
{
2020
public static class GrammarUtility
2121
{
22-
private static readonly ExtraGrammar[] s_extraGrammas =
22+
private static readonly ExtraGrammar[] s_extraGrammars =
2323
[
2424
new ExtraGrammar("source.toml", ".toml", "toml.json"),
2525
new ExtraGrammar("source.kotlin", ".kotlin", "kotlin.json"),
@@ -39,7 +39,7 @@ public static string GetScope(string file, RegistryOptions reg)
3939
else if (extension == ".kt" || extension == ".kts")
4040
extension = ".kotlin";
4141

42-
foreach (var grammar in s_extraGrammas)
42+
foreach (var grammar in s_extraGrammars)
4343
{
4444
if (grammar.Extension.Equals(extension, StringComparison.OrdinalIgnoreCase))
4545
return grammar.Scope;
@@ -50,7 +50,7 @@ public static string GetScope(string file, RegistryOptions reg)
5050

5151
public static IRawGrammar GetGrammar(string scopeName, RegistryOptions reg)
5252
{
53-
foreach (var grammar in s_extraGrammas)
53+
foreach (var grammar in s_extraGrammars)
5454
{
5555
if (grammar.Scope.Equals(scopeName, StringComparison.OrdinalIgnoreCase))
5656
{

0 commit comments

Comments
 (0)