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
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 {
You can’t perform that action at this time.
0 commit comments