Skip to main content
Version: Next

ParserMetadata

type ParserMetadata = object;

Tree-sitter parser metadata.

See

RsvimSyn.getParserMetadata

Properties

camelcase

camelcase: string;

The tree-sitter parser name's camelcase.


fileTypes

fileTypes: string[];

The tree-sitter parser file types.


highlightsPath?

optional highlightsPath?: string;

The tree-sitter parser highlights query path.


highlightsQuery?

optional highlightsQuery?: string;

The tree-sitter parser highlights query.


injectionRegex?

optional injectionRegex?: string;

The tree-sitter parser injection regex.


injectionsPath?

optional injectionsPath?: string;

The tree-sitter parser injections query path.


injectionsQuery?

optional injectionsQuery?: string;

The tree-sitter parser injections query.


name

name: string;

The tree-sitter parser name.


path

path: string;

The tree-sitter parser path.


scope

scope: string;

The tree-sitter parser scope.


tagsPath?

optional tagsPath?: string;

The tree-sitter parser tags query path.


tagsQuery?

optional tagsQuery?: string;

The tree-sitter parser tags query.