Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

docs: Document `global_lsp_settings.button` and remove duplicate docs for `lsp_highlight_debounce` (#36547)

zumbalogyfbba6addfd1f
diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md
index 9d561302566..39d172ea5f2 100644
--- a/docs/src/configuring-zed.md
+++ b/docs/src/configuring-zed.md
@@ -539,12 +539,6 @@ List of `string` values
- Setting: `selection_highlight`
- Default: `true`
-## LSP Highlight Debounce
-
-- Description: The debounce delay before querying highlights from the language server based on the current cursor location.
-- Setting: `lsp_highlight_debounce`
-- Default: `75`
-
## Cursor Blink
- Description: Whether or not the cursor blinks.
@@ -1339,6 +1333,18 @@ While other options may be changed at a runtime and should be placed under `sett
- Setting: `lsp_highlight_debounce`
- Default: `75`
+## Global LSP Settings
+
+- Description: Common language server settings.
+- Setting: `global_lsp_settings`
+- Default:
+
+```json
+"global_lsp_settings": {
+ "button": true
+}
+```
+
**Options**
`integer` values representing milliseconds
diff --git a/docs/src/visual-customization.md b/docs/src/visual-customization.md
index 6e598f44361..3ad1e381d95 100644
--- a/docs/src/visual-customization.md
+++ b/docs/src/visual-customization.md
@@ -321,6 +321,12 @@ TBD: Centered layout related settings
// Defaults to true.
"cursor_position_button": true,
},
+ "global_lsp_settings": {
+ // Show/hide the LSP button in the status bar.
+ // Activity from the LSP is still shown.
+ // Button is not shown if "enable_language_server" if false.
+ "button": true
+ },
```
### Multibuffer