Package Exports
- @blitz/textmate
- @blitz/textmate/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@blitz/textmate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@blitz/textmate
TextMate Grammars for StackBlitz
Install
$ npm install @blitz/textmateAPI
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.