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

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_inlay_hints:       bool,
	enable_procedure_context: bool,
	enable_snippets:          bool,
	enable_references:        bool,
	enable_rename:            bool,
	enable_std_references:    bool,
	thread_count:             int,
	file_log:                 bool,
	formatter:                Format_Config,
	odin_command:             string,
	checker_args:             string,
}

Format_Config :: struct {
	tabs: bool,
	characters: int,
	spaces: int,
}

config: Config;