language_settings: Add whitespace_map setting (#37704)

This setting controls which visible characters are used to render
whitespace when the show_whitespace setting is enabled.

Release Notes:

- Added `whitespace_map` setting to control which visible characters are
used to render whitespace when the `show_whitespace` setting is enabled.

---------

Co-authored-by: Nia Espera <nia@zed.dev>
This commit is contained in:
Ilija Tovilo
2025-09-10 18:19:24 +00:00
committed by GitHub
co-authored by Nia Espera
parent 22e31a0d41
commit b28c979aae
3 changed files with 53 additions and 5 deletions
+5
View File
@@ -362,6 +362,11 @@
// - It is adjacent to an edge (start or end)
// - It is adjacent to a whitespace (left or right)
"show_whitespaces": "selection",
// Visible characters used to render whitespace when show_whitespaces is enabled.
"whitespace_map": {
"space": "•",
"tab": "→"
},
// Settings related to calls in Zed
"calls": {
// Join calls with the microphone live by default