ability to highlight global variables (#655)

anything declared with "var" at the root level
This commit is contained in:
nullptrdevs
2022-10-09 22:13:15 -07:00
committed by GitHub
parent f204f3467e
commit 19fd17ff76
4 changed files with 54 additions and 16 deletions

View File

@@ -123,6 +123,7 @@ The following options are currently available.
|`include_at_in_builtins`|`bool`|`false`| Whether the @ sign should be part of the completion of builtins.
|`max_detail_length`|`usize`|`1024 * 1024`| The detail field of completions is truncated to be no longer than this (in bytes).
| `skip_std_references` | `bool` | `false` | When true, skips searching for references in std. Improves lookup speed for functions in user's code. Renaming and go-to-definition will continue to work as is.
| `highlight_global_var_declarations` | `bool` | `false` | Whether to highlight global var declarations.
### Per-build Configuration Options