2020-05-09 14:43:51 +01:00
|
|
|
// Configuration options for zls.
|
|
|
|
|
2020-05-09 20:42:35 +01:00
|
|
|
/// Whether to enable snippet completions
|
2020-05-19 20:09:00 +01:00
|
|
|
enable_snippets: bool = false,
|
2020-05-14 00:10:41 +01:00
|
|
|
|
2020-05-14 13:09:27 +01:00
|
|
|
/// zig library path
|
2020-05-14 02:54:05 +01:00
|
|
|
zig_lib_path: ?[]const u8 = null,
|
2020-05-15 20:10:53 +01:00
|
|
|
|
2020-05-30 21:36:18 +01:00
|
|
|
/// zig executable path used to run the custom build runner.
|
|
|
|
/// May be used to find a lib path if none is provided.
|
|
|
|
zig_exe_path: ?[]const u8 = null,
|
|
|
|
|
2020-05-15 20:10:53 +01:00
|
|
|
/// Whether to pay attention to style issues. This is opt-in since the style
|
|
|
|
/// guide explicitly states that the style info provided is a guideline only.
|
|
|
|
warn_style: bool = false,
|
2020-05-25 18:04:23 +01:00
|
|
|
|
|
|
|
/// Path to the build_runner.zig file. This option must be present in one of
|
|
|
|
/// the global configuration directories to have any effect.
|
|
|
|
build_runner_path: ?[]const u8 = null,
|
2020-06-16 12:27:00 +01:00
|
|
|
|
|
|
|
/// Semantic token support
|
|
|
|
enable_semantic_tokens: bool = false,
|
2020-07-07 21:26:12 +01:00
|
|
|
|
|
|
|
/// Whether to enable `*` and `?` operators in completion lists
|
|
|
|
operator_completions: bool = true,
|