12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- name: 'C++'
- scopeName: 'source.cpp'
- type: 'modern-tree-sitter'
- parser: 'tree-sitter-cpp'
- injectionRegex: '^(c|C)(\\+\\+|pp|PP)$'
- treeSitter:
- parserSource: 'github:tree-sitter/tree-sitter-cpp#a71474021410973b29bfe99440d57bcd750246b1'
- grammar: 'tree-sitter-cpp/tree-sitter-cpp.wasm'
- languageSegment: 'cpp'
- highlightsQuery: [
- 'common/highlights.scm'
- 'tree-sitter-cpp/highlights.scm'
- ]
- tagsQuery: 'tree-sitter-cpp/tags.scm'
- foldsQuery: 'tree-sitter-cpp/folds.scm'
- indentsQuery: 'tree-sitter-cpp/indents.scm'
- fileTypes: [
- 'cc'
- 'cpp'
- 'cp'
- 'cxx'
- 'c++'
- 'cu'
- 'cuh'
- 'h'
- 'hh'
- 'hpp'
- 'hxx'
- 'h++'
- 'inl'
- 'ino'
- 'ipp'
- 'tcc'
- 'tpp'
- ]
- contentRegex: '\n\\s*(namespace|class|template)\\s+'
- comments:
- start: '// '
|