aboutsummaryrefslogtreecommitdiff
path: root/src/common/config.odin
blob: a1f24009594dd9ea4c83898c52bc9be81a30fafd (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
package common

ConfigProfile :: struct {
	os:           string,
	arch:         string,
	name:         string,
	checker_path: [dynamic]string,
	defines:      map[string]string,
	exclude_path: [dynamic]string,
}

Config :: struct {
	workspace_folders:                  [dynamic]WorkspaceFolder,
	completion_support_md:              bool,
	hover_support_md:                   bool,
	signature_offset_support:           bool,
	collections:                        map[string]string,
	running:                            bool,
	verbose:                            bool,
	enable_format:                      bool,
	enable_hover:                       bool,
	enable_document_symbols:            bool,
	enable_semantic_tokens:             bool,
	enable_unused_imports_reporting:    bool,
	enable_inlay_hints_params:          bool,
	enable_inlay_hints_default_params:  bool,
	enable_inlay_hints_implicit_return: bool,
	enable_procedure_context:           bool,
	enable_snippets:                    bool,
	enable_references:                  bool,
	enable_document_highlights:         bool,
	enable_label_details:               bool,
	enable_std_references:              bool,
	enable_import_fixer:                bool,
	enable_fake_method:                 bool,
	enable_overload_resolution:         bool,
	enable_procedure_snippet:           bool,
	enable_checker_only_saved:          bool,
	enable_auto_import:                 bool,
	enable_completion_matching:         bool,
	enable_document_links:              bool,
	enable_comp_lit_signature_help:     bool,
	disable_parser_errors:              bool,
	thread_count:                       int,
	file_log:                           bool,
	odin_command:                       string,
	odin_root_override:                 string,
	checker_args:                       string,
	checker_targets:                    []string,
	client_name:                        string,
	profile:                            ConfigProfile,
}

config: Config