mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
25 lines
558 B
Plaintext
25 lines
558 B
Plaintext
name: 'C'
|
|
scopeName: 'source.c'
|
|
type: 'modern-tree-sitter'
|
|
parser: 'tree-sitter-c'
|
|
|
|
firstLineRegex: '-\\*-[^*]*(Mode:\\s*)?C(\\s*;.*?)?\\s*-\\*-'
|
|
injectionRegex: '^(c|C)$'
|
|
|
|
treeSitter:
|
|
parserSource: 'github:tree-sitter/tree-sitter-c#212a80f86452bb1316324fa0db730cf52f29e05a'
|
|
grammar: 'tree-sitter-c/tree-sitter-c.wasm'
|
|
highlightsQuery: 'tree-sitter-c/highlights.scm'
|
|
tagsQuery: 'tree-sitter-c/tags.scm'
|
|
foldsQuery: 'tree-sitter-c/folds.scm'
|
|
indentsQuery: 'tree-sitter-c/indents.scm'
|
|
|
|
fileTypes: [
|
|
'h'
|
|
'c'
|
|
'h.in'
|
|
]
|
|
|
|
comments:
|
|
start: '// '
|