enable all capabilities by default (#877)

This commit is contained in:
Techatrix 2023-01-02 09:02:28 +00:00 committed by GitHub
parent 3449269fd3
commit b95d5095af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 16 deletions

View File

@ -69,12 +69,12 @@ The following options are currently available.
<!-- DO NOT EDIT | THIS SECTION IS AUTO-GENERATED | DO NOT EDIT --> <!-- DO NOT EDIT | THIS SECTION IS AUTO-GENERATED | DO NOT EDIT -->
| Option | Type | Default value | What it Does | | Option | Type | Default value | What it Does |
| --- | --- | --- | --- | | --- | --- | --- | --- |
| `enable_snippets` | `bool` | `false` | Enables snippet completions when the client also supports them | | `enable_snippets` | `bool` | `true` | Enables snippet completions when the client also supports them |
| `enable_ast_check_diagnostics` | `bool` | `true` | Whether to enable ast-check diagnostics | | `enable_ast_check_diagnostics` | `bool` | `true` | Whether to enable ast-check diagnostics |
| `enable_autofix` | `bool` | `false` | Whether to automatically fix errors on save. Currently supports adding and removing discards. | | `enable_autofix` | `bool` | `true` | Whether to automatically fix errors on save. Currently supports adding and removing discards. |
| `enable_import_embedfile_argument_completions` | `bool` | `false` | Whether to enable import/embedFile argument completions | | `enable_import_embedfile_argument_completions` | `bool` | `true` | Whether to enable import/embedFile argument completions |
| `enable_semantic_tokens` | `bool` | `true` | Enables semantic token support when the client also supports it | | `enable_semantic_tokens` | `bool` | `true` | Enables semantic token support when the client also supports it |
| `enable_inlay_hints` | `bool` | `false` | Enables inlay hint support when the client also supports it | | `enable_inlay_hints` | `bool` | `true` | Enables inlay hint support when the client also supports it |
| `inlay_hints_show_builtin` | `bool` | `true` | Enable inlay hints for builtin functions | | `inlay_hints_show_builtin` | `bool` | `true` | Enable inlay hints for builtin functions |
| `inlay_hints_exclude_single_argument` | `bool` | `true` | Don't show inlay hints for single argument calls | | `inlay_hints_exclude_single_argument` | `bool` | `true` | Don't show inlay hints for single argument calls |
| `inlay_hints_hide_redundant_param_names` | `bool` | `false` | Hides inlay hints when parameter name matches the identifier (e.g. foo: foo) | | `inlay_hints_hide_redundant_param_names` | `bool` | `false` | Hides inlay hints when parameter name matches the identifier (e.g. foo: foo) |

View File

@ -7,7 +7,7 @@
"enable_snippets": { "enable_snippets": {
"description": "Enables snippet completions when the client also supports them", "description": "Enables snippet completions when the client also supports them",
"type": "boolean", "type": "boolean",
"default": "false" "default": "true"
}, },
"enable_ast_check_diagnostics": { "enable_ast_check_diagnostics": {
"description": "Whether to enable ast-check diagnostics", "description": "Whether to enable ast-check diagnostics",
@ -17,12 +17,12 @@
"enable_autofix": { "enable_autofix": {
"description": "Whether to automatically fix errors on save. Currently supports adding and removing discards.", "description": "Whether to automatically fix errors on save. Currently supports adding and removing discards.",
"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",
"type": "boolean", "type": "boolean",
"default": "false" "default": "true"
}, },
"enable_semantic_tokens": { "enable_semantic_tokens": {
"description": "Enables semantic token support when the client also supports it", "description": "Enables semantic token support when the client also supports it",
@ -32,7 +32,7 @@
"enable_inlay_hints": { "enable_inlay_hints": {
"description": "Enables inlay hint support when the client also supports it", "description": "Enables inlay hint support when the client also supports it",
"type": "boolean", "type": "boolean",
"default": "false" "default": "true"
}, },
"inlay_hints_show_builtin": { "inlay_hints_show_builtin": {
"description": "Enable inlay hints for builtin functions", "description": "Enable inlay hints for builtin functions",

View File

@ -5,22 +5,22 @@
//! GENERATED BY src/config_gen/config_gen.zig //! GENERATED BY src/config_gen/config_gen.zig
/// Enables snippet completions when the client also supports them /// Enables snippet completions when the client also supports them
enable_snippets: bool = false, enable_snippets: bool = true,
/// Whether to enable ast-check diagnostics /// Whether to enable ast-check diagnostics
enable_ast_check_diagnostics: bool = true, enable_ast_check_diagnostics: bool = true,
/// Whether to automatically fix errors on save. Currently supports adding and removing discards. /// Whether to automatically fix errors on save. Currently supports adding and removing discards.
enable_autofix: bool = false, enable_autofix: bool = true,
/// Whether to enable import/embedFile argument completions /// Whether to enable import/embedFile argument completions
enable_import_embedfile_argument_completions: bool = false, enable_import_embedfile_argument_completions: bool = true,
/// Enables semantic token support when the client also supports it /// Enables semantic token support when the client also supports it
enable_semantic_tokens: bool = true, enable_semantic_tokens: bool = true,
/// Enables inlay hint support when the client also supports it /// Enables inlay hint support when the client also supports it
enable_inlay_hints: bool = false, enable_inlay_hints: bool = true,
/// Enable inlay hints for builtin functions /// Enable inlay hints for builtin functions
inlay_hints_show_builtin: bool = true, inlay_hints_show_builtin: bool = true,

View File

@ -4,7 +4,7 @@
"name": "enable_snippets", "name": "enable_snippets",
"description": "Enables snippet completions when the client also supports them", "description": "Enables snippet completions when the client also supports them",
"type": "bool", "type": "bool",
"default": "false", "default": "true",
"setup_question": "Do you want to enable snippets?" "setup_question": "Do you want to enable snippets?"
}, },
{ {
@ -18,14 +18,14 @@
"name": "enable_autofix", "name": "enable_autofix",
"description": "Whether to automatically fix errors on save. Currently supports adding and removing discards.", "description": "Whether to automatically fix errors on save. Currently supports adding and removing discards.",
"type": "bool", "type": "bool",
"default": "false", "default": "true",
"setup_question": "Do you want to zls to automatically try to fix errors on save? (supports adding & removing discards)" "setup_question": "Do you want to zls to automatically try to fix errors on save? (supports adding & removing discards)"
}, },
{ {
"name": "enable_import_embedfile_argument_completions", "name": "enable_import_embedfile_argument_completions",
"description": "Whether to enable import/embedFile argument completions", "description": "Whether to enable import/embedFile argument completions",
"type": "bool", "type": "bool",
"default": "false", "default": "true",
"setup_question": "Do you want to enable @import/@embedFile argument path completion?" "setup_question": "Do you want to enable @import/@embedFile argument path completion?"
}, },
{ {
@ -39,7 +39,7 @@
"name": "enable_inlay_hints", "name": "enable_inlay_hints",
"description": "Enables inlay hint support when the client also supports it", "description": "Enables inlay hint support when the client also supports it",
"type": "bool", "type": "bool",
"default": "false", "default": "true",
"setup_question": "Do you want to enable inlay hints?" "setup_question": "Do you want to enable inlay hints?"
}, },
{ {