@blitz/textmate
TypeScript icon, indicating that this package has built-in type declarations

0.4.5 • Public • Published

@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.

Dependents (0)

Package Sidebar

Install

npm i @blitz/textmate

Weekly Downloads

107

Version

0.4.5

License

MIT

Unpacked Size

1.71 MB

Total Files

85

Last publish

Collaborators

  • tsulkowski
  • alexkalderimis
  • kirjava
  • nemikolh
  • donmckenna
  • fvsch
  • stackblitz-devops
  • ykmsd
  • heygarrison
  • ggdaltoso
  • markwhitfeld
  • apai4
  • samdd
  • ericmsimons
  • stackblitz-unpkg
  • d3lm
  • kwintenp
  • samverschueren
  • _rvidal