enable ast-check by default
This commit is contained in:
parent
a6ed5d1abf
commit
d8b574a0cc
@ -103,7 +103,7 @@ The following options are currently available.
|
|||||||
| --- | --- | --- | --- |
|
| --- | --- | --- | --- |
|
||||||
| `enable_snippets` | `bool` | `false` | Enables snippet completions when the client also supports them. |
|
| `enable_snippets` | `bool` | `false` | Enables snippet completions when the client also supports them. |
|
||||||
| `enable_unused_variable_warnings` | `bool` | `false`| Enables warnings for local variables that aren't used. |
|
| `enable_unused_variable_warnings` | `bool` | `false`| Enables warnings for local variables that aren't used. |
|
||||||
| `enable_import_embedfile_argument_completions` | `bool` | `false` | Whether to enable import/embedFile argument completions |
|
| `enable_ast_check_diagnostics` | `bool` | `true` | Whether to enable ast-check diagnostics |
|
||||||
| `zig_lib_path` | `?[]const u8` | `null` | zig library path, e.g. `/path/to/zig/lib/zig`, used to analyze std library imports. |
|
| `zig_lib_path` | `?[]const u8` | `null` | zig library path, e.g. `/path/to/zig/lib/zig`, used to analyze std library imports. |
|
||||||
| `zig_exe_path` | `?[]const u8` | `null` | zig executable path, e.g. `/path/to/zig/zig`, used to run the custom build runner. If `null`, zig is looked up in `PATH`. Will be used to infer the zig standard library path if none is provided. |
|
| `zig_exe_path` | `?[]const u8` | `null` | zig executable path, e.g. `/path/to/zig/zig`, used to run the custom build runner. If `null`, zig is looked up in `PATH`. Will be used to infer the zig standard library path if none is provided. |
|
||||||
| `warn_style` | `bool` | `false` | Enables warnings for style *guideline* mismatches |
|
| `warn_style` | `bool` | `false` | Enables warnings for style *guideline* mismatches |
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
"enable_ast_check_diagnostics": {
|
"enable_ast_check_diagnostics": {
|
||||||
"description": "Whether to enable ast-check diagnostics",
|
"description": "Whether to enable ast-check diagnostics",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": "false"
|
"default": "true"
|
||||||
},
|
},
|
||||||
"enable_import_embedfile_argument_completions": {
|
"enable_import_embedfile_argument_completions": {
|
||||||
"description": "Whether to enable import/embedFile argument completions",
|
"description": "Whether to enable import/embedFile argument completions",
|
||||||
|
@ -14,7 +14,7 @@ const logger = std.log.scoped(.config);
|
|||||||
enable_snippets: bool = false,
|
enable_snippets: bool = false,
|
||||||
|
|
||||||
/// Whether to enable ast-check diagnostics
|
/// Whether to enable ast-check diagnostics
|
||||||
enable_ast_check_diagnostics: bool = false,
|
enable_ast_check_diagnostics: bool = true,
|
||||||
|
|
||||||
/// Whether to enable import/embedFile argument completions (NOTE: these are triggered manually as updating the autotrigger characters may cause issues)
|
/// Whether to enable import/embedFile argument completions (NOTE: these are triggered manually as updating the autotrigger characters may cause issues)
|
||||||
enable_import_embedfile_argument_completions: bool = false,
|
enable_import_embedfile_argument_completions: bool = false,
|
||||||
|
Loading…
Reference in New Issue
Block a user