code: def get_editor_style_by_name(name):
      
      if name == 'vim':
          vim_style = Style.from_dict(default_vim_style)
      else:
          vim_style = style_from_pygments_cls(get_style_by_name(name))
  
      return merge_styles([
          vim_style,
          Style.from_dict(style_extensions),
      ])
docs: Get Style class.
      This raises `pygments.util.ClassNotFound` when there is no style with this
      name.