File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ namespace SourceGit.Models
19
19
{
20
20
public static class GrammarUtility
21
21
{
22
- private static readonly ExtraGrammar [ ] s_extraGrammas =
22
+ private static readonly ExtraGrammar [ ] s_extraGrammars =
23
23
[
24
24
new ExtraGrammar ( "source.toml" , ".toml" , "toml.json" ) ,
25
25
new ExtraGrammar ( "source.kotlin" , ".kotlin" , "kotlin.json" ) ,
@@ -39,7 +39,7 @@ public static string GetScope(string file, RegistryOptions reg)
39
39
else if ( extension == ".kt" || extension == ".kts" )
40
40
extension = ".kotlin" ;
41
41
42
- foreach ( var grammar in s_extraGrammas )
42
+ foreach ( var grammar in s_extraGrammars )
43
43
{
44
44
if ( grammar . Extension . Equals ( extension , StringComparison . OrdinalIgnoreCase ) )
45
45
return grammar . Scope ;
@@ -50,7 +50,7 @@ public static string GetScope(string file, RegistryOptions reg)
50
50
51
51
public static IRawGrammar GetGrammar ( string scopeName , RegistryOptions reg )
52
52
{
53
- foreach ( var grammar in s_extraGrammas )
53
+ foreach ( var grammar in s_extraGrammars )
54
54
{
55
55
if ( grammar . Scope . Equals ( scopeName , StringComparison . OrdinalIgnoreCase ) )
56
56
{
You can’t perform that action at this time.
0 commit comments