-
Notifications
You must be signed in to change notification settings - Fork 1
/
sublime-package.json
115 lines (115 loc) · 3.93 KB
/
sublime-package.json
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"contributions": {
"settings": [
{
"file_patterns": ["/TreeSitter.sublime-settings"],
"schema": {
"properties": {
"installed_languages": {
"type": "array",
"items": {
"enum": [
"python",
"typescript",
"tsx",
"javascript",
"css",
"scss",
"go",
"rust",
"lua",
"ruby",
"java",
"php",
"zig",
"c",
"cpp",
"c_sharp",
"scala",
"kotlin",
"julia",
"haskell",
"clojure",
"elixir",
"toml",
"yaml",
"json",
"bash",
"query",
"vue",
"svelte",
"html",
"markdown",
"sql",
"ocaml",
"elm",
"r",
"dockerfile",
"erlang",
"objc",
"perl",
"regex",
"make",
"rst",
"latex",
"hcl",
"terraform",
"hack"
]
},
"markdownDescription": "Run `TreeSitter: Install Language` to install languages"
},
"python_path": {
"type": "string",
"markdownDescription": "Path to Python 3.8 executable; set this to clone your own language repos and build your own language binaries instead of relying on those bundled with `tree_sitter_languages`"
},
"pip_path": {
"type": "string",
"markdownDescription": "If `python_path` is set, set this to corresponding path for `pip`; inferred from `python_path` if left blank"
},
"language_name_to_scopes": {
"type": "object",
"patternProperties": {
".*": { "type": "array", "items": { "type": "string" } }
},
"markdownDescription": "Override or extend which languages apply to which Sublime Text scopes, see [src/utils.py](https://github.com/sublime-treesitter/TreeSitter/blob/main/src/utils.py)"
},
"language_name_to_repo": {
"type": "object",
"patternProperties": {
".*": {
"type": "object",
"properties": {
"repo": { "type": "string" },
"branch": { "type": "string" },
"parser_path": { "type": "string" }
},
"additionalProperties": false,
"required": ["repo"]
}
},
"markdownDescription": "Override or extend lookup dict with Tree-sitter grammar repos, see [src/utils.py](https://github.com/sublime-treesitter/TreeSitter/blob/main/src/utils.py)"
},
"language_name_to_debounce_ms": {
"type": "object",
"patternProperties": {
".*": { "type": "number" }
},
"markdownDescription": "Debounce parsing for parsers that are slow"
},
"queries_path": {
"type": "string",
"markdownDescription": "Path to queries files for all languages"
},
"debug": {
"type": "boolean",
"markdownDescription": "Enable debug logging and assertions; has non-zero performance cost, for developers only"
}
},
"additionalProperties": false,
"required": []
}
}
]
}
}