aboutsummaryrefslogtreecommitdiff
path: root/misc/ols.schema.json
blob: a374681ed3e6d2b2cbcac9108641c52d8ae290a6 (plain)
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
{
	"$schema": "http://json-schema.org/draft-07/schema#",
	"type": "object",
	"properties": {
		"collections": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"name": { "type": "string" },
					"path": { "type": "string" }
				}
			}
		},
		"thread_pool_count": { "type": "integer" },
		"enable_semantic_tokens": {
			"type": "boolean",
			"description": "Turns on syntax highlighting."
		},
		"enable_document_symbols": {
			"type": "boolean",
			"description": "Turns on outline of all your global declarations in your document."
		},
		"enable_format": {
			"type": "boolean",
			"description": "Turns on formatting with odinfmt.",
			"default": true
		},
		"enable_hover": {
			"type": "boolean",
			"description": "Enables hover feature"
		},
		"enable_procedure_context": { "type": "boolean" },
		"enable_snippets": {
			"type": "boolean",
			"description": "Turns on builtin snippets"
		},
		"enable_inlay_hints": {
			"type": "boolean",
			"description": "Turn on inlay hints for editors that support it."
		},
		"enable_references": { "type": "boolean" },
		"enable_fake_methods": {
			"type": "boolean",
			"description": "Turn on fake methods completion."
		},
		"disable_parser_errors": { "type": "boolean" },
		"verbose": {
			"type": "boolean",
			"description": "Logs warnings instead of just errors."
		},
		"file_log": { "type": "boolean" },
		"odin_command": {
			"type": "string",
			"description": "Allows you to specify your Odin location, instead of just relying on the environment path."
		},
		"checker_args": {
			"type": "string",
			"description": "Pass custom arguments to `odin check`."
		}
	},
	"required": []
}