-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlanguages.toml
88 lines (70 loc) · 2.03 KB
/
languages.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Build options for parsers
# No more fake-gyp.py since some idiots do not update their bindings.gyp
# so we may as well as just maintain a set of flags by ourselves
# Additionally, since C++ scanners are deprecated,
# and literally only one language included in nvim-treesitter uses it,
# I will just ignore its existence.
# Fields:
# remote: string?
# url to the git repository where the parser is hosted
# may be omitted if only consists of queries from nvim-treesitter
# revision: string = 'HEAD'
# revision to checkout to
# can be a branch or tag
# generate: bool = True
# whether the grammar needs to be generated
# std: string = 'c11'
# C standard to use
# files: [str]
# list of patterns of filenames to match to this languages
[c]
remote = 'https://github.com/tree-sitter/tree-sitter-c'
files = [ '%.c$' ]
[cpp]
remote = 'https://github.com/tree-sitter/tree-sitter-cpp'
files = [
'%.h$',
'%.cpp$', '%.hpp$',
'%.cxx$', '%.hxx$',
'%.c++$', '%.h++$',
'%.cc$', '%.hh$',
'%.inl$',
'%.C$', '%.H$',
'%.ino$'
]
[css]
remote = 'https://github.com/tree-sitter/tree-sitter-css'
files = [ '%.css$' ]
[d]
remote = 'https://github.com/gdamore/tree-sitter-d'
files = [ '%.d$', '%.di$' ]
[ecma]
[go]
remote = 'https://github.com/tree-sitter/tree-sitter-go'
files = [ '%.go$' ]
[gomod]
remote = 'https://github.com/camdencheek/tree-sitter-go-mod'
files = [ 'go%.mod$' ]
[gosum]
remote = 'https://github.com/amaanq/tree-sitter-go-sum'
files = [ 'go%.sum$' ]
[html]
remote = 'https://github.com/tree-sitter/tree-sitter-html'
files = [ '%.html?$' ]
[html_tags]
[javascript]
remote = 'https://github.com/tree-sitter/tree-sitter-javascript'
files = [ '%.js$', '%.cjs$', '%.mjs$', '%.jsx$' ]
[jsx]
[julia]
remote = 'https://github.com/tree-sitter/tree-sitter-julia'
files = [ '%.jl$' ]
[lua]
remote = 'https://github.com/MunifTanjim/tree-sitter-lua'
files = [ '%.lua$' ]
[rust]
remote = 'https://github.com/tree-sitter/tree-sitter-rust'
files = [ '%.rs$' ]
[zig]
remote = 'https://github.com/maxxnino/tree-sitter-zig'
files = [ '%.zig$' ]