Skip to content

Repository containing the TextMate grammars used by StackBlitz

License

Notifications You must be signed in to change notification settings

stackblitz/textmate

Repository files navigation

@blitz/textmate

CI

TextMate Grammars for StackBlitz

Install

$ npm install @blitz/textmate

API

languages

List of TextMate grammar LanguageDefinitions.

grammars

List of TextMate grammar GrammarDefinitions.

getGrammarLocation(definition)

Retrieve the location of the grammar file for the provided definition.

definition

Type: object

Definition to retrieve the grammar location for.

getLanguageConfigurationLocation(definition)

Retrieve the location of the language configuration file for the provided language definition.

definition

Type: object

Language definition to retrieve the language configuration location for.

isGrammarDefinition(definition)

Check if the provided definition is a GrammarDefinition.

definition

Type: object

The definition to check for.

isLanguageDefinition(definition)

Check if the provided definition is a LanguageDefinition.

definition

Type: object

The definition to check for.

About

Repository containing the TextMate grammars used by StackBlitz

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •