internal static IEnumerable <TmSnippet> GetSnippets(ScopeStack scope)
 {
     foreach (var bundle in languageBundles)
     {
         foreach (var setting in bundle.Snippets)
         {
             if (!setting.Scopes.Any(s => TmSetting.IsSettingMatch(scope, s)))
             {
                 continue;
             }
             yield return(setting);
         }
     }
 }
 internal static IEnumerable <TmSetting> GetSettings(ScopeStack scope)
 {
     InitializeStylesAndModes();
     foreach (var bundle in languageBundles)
     {
         foreach (var setting in bundle.Settings)
         {
             if (!setting.Scopes.Any(s => TmSetting.IsSettingMatch(scope, s)))
             {
                 continue;
             }
             yield return(setting);
         }
     }
 }