generated from tweag/project
-
Notifications
You must be signed in to change notification settings - Fork 31
/
languages_nix.ncl
72 lines (63 loc) · 1.3 KB
/
languages_nix.ncl
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
{
languages = {
bash = {
extensions = ["sh", "bash"],
grammar.source.path = "@bash@",
},
css = {
extensions = ["css"],
grammar.source.path = "@css@",
},
json = {
extensions = [
"json",
"avsc",
"geojson",
"gltf",
"har",
"ice",
"JSON-tmLanguage",
"jsonl",
"mcmeta",
"tfstate",
"tfstate.backup",
"topojson",
"webapp",
"webmanifest"
],
grammar.source.path = "@json@",
},
nickel = {
extensions = ["ncl"],
grammar.source.path = "@nickel@",
},
ocaml = {
extensions = ["ml"],
grammar.source.path = "@ocaml@",
},
ocaml_interface = {
extensions = ["mli"],
grammar.source.path = "@ocaml_interface@",
},
# ocamllex = {
# extensions = ["mll"],
# grammar.source.path = "@ocamllex@",
# },
rust = {
extensions = ["rs"],
indent = " ", # 4 spaces
grammar.source.path = "@rust@",
},
toml = {
extensions = ["toml"],
grammar.source.path = "@toml@",
},
tree_sitter_query = {
extensions = ["scm"],
grammar = {
source.path = "@tree_sitter_query@",
symbol = "tree_sitter_query",
},
},
},
}