Bennet Bo Fenner
ab8d25e0a2
indent guides: Respect language specific settings in multibuffers ( #12528 )
...
Indent guides can be configured per language, meaning that in a multi
buffer we can get excerpts where indent guides should be
disabled/enabled/styled differently than other excerpts.
Imagine the following scenario, i have indent guides disabled in my
settings, but want to enable them for JS and Python. I also want to use
a different line width for python files. Something like this is now
supported:
<img width="445" alt="image"
src="https://github.com/zed-industries/zed/assets/53836821/0c91411c-145c-4210-a883-4c469d5cb828 ">
And the relevant settings for the example above:
```json
"indent_guides": {
"enabled": false
},
"languages": {
"JavaScript": {
"indent_guides": {
"enabled": true
}
},
"Python": {
"indent_guides": {
"enabled": true,
"line_width": 5
}
}
}
```
Release Notes:
- Respect language specific settings when showing indent guides in a
multibuffer
- Fixes an issue where indent guide specific settings were not
recognized when specified in local settings
2024-06-01 20:33:32 +02:00
..
2024-05-08 19:13:28 +02:00
2024-05-30 12:36:07 +02:00
2024-05-29 18:06:45 -07:00
2024-05-31 11:31:22 -04:00
2024-05-30 16:45:05 +02:00
2024-05-12 04:47:19 -07:00
2024-05-29 18:06:45 -07:00
2024-05-27 19:01:20 -06:00
2024-04-25 17:42:53 -04:00
2024-05-10 15:50:20 -06:00
2024-05-30 13:32:34 -07:00
2024-05-27 19:01:20 -06:00
2024-05-29 16:53:45 -06:00
2024-03-05 12:01:17 -05:00
2024-05-30 13:02:55 -07:00
2024-06-01 18:40:25 +02:00
2024-03-29 17:09:49 -07:00
2024-03-15 16:58:46 -04:00
2024-05-16 13:30:04 -04:00
2024-03-26 13:28:06 +01:00
2024-05-26 16:30:09 -07:00
2024-04-23 13:31:21 -04:00
2024-05-21 22:39:16 -06:00
2024-05-29 18:06:45 -07:00
2024-06-01 20:33:32 +02:00
2024-05-30 16:45:05 +02:00
2024-05-27 17:44:54 -06:00
2024-03-28 18:32:11 +01:00
2024-05-29 18:06:45 -07:00
2024-05-29 16:53:45 -06:00
2024-05-28 21:51:24 -04:00
2024-05-22 14:36:15 +03:00
2024-05-29 18:06:45 -07:00
2024-05-30 09:37:11 -07:00
2024-04-30 23:31:59 -06:00
2024-03-05 12:01:17 -05:00
2024-05-30 09:37:11 -07:00
2024-05-10 15:50:20 -06:00
2024-05-16 20:28:17 -07:00
2024-05-10 15:50:20 -06:00
2024-05-31 18:36:15 -07:00
2024-05-06 13:56:25 -04:00
2024-05-23 21:11:14 -06:00
2024-05-22 20:40:31 -04:00
2024-05-29 18:06:45 -07:00
2024-05-03 12:50:42 -07:00
2024-03-11 10:45:57 +01:00
2024-04-08 19:17:12 -04:00
2024-06-01 20:33:32 +02:00
2024-03-05 12:01:17 -05:00
2024-05-29 18:06:45 -07:00
2024-06-01 18:46:36 +02:00
2024-04-25 22:37:40 -04:00
2024-05-10 14:18:40 -04:00
2024-05-25 12:25:17 +02:00
2024-05-26 12:50:20 +02:00
2024-04-26 21:34:45 +02:00
2024-04-02 13:12:38 -06:00
2024-03-26 16:10:09 -07:00
2024-06-01 20:33:32 +02:00
2024-05-25 11:04:22 -04:00
2024-04-02 20:40:00 -06:00
2024-05-30 12:36:07 +02:00
2024-05-16 20:28:17 -07:00
2024-05-20 10:52:04 -04:00
2024-05-25 10:50:53 +03:00
2024-05-30 09:37:11 -07:00
2024-05-29 12:34:58 +02:00
2024-03-05 12:01:17 -05:00
2024-04-17 13:20:47 +02:00
2024-06-01 18:40:25 +02:00
2024-03-05 12:01:17 -05:00
2024-05-09 21:08:49 -06:00
2024-04-23 16:23:26 -07:00
2024-05-23 15:50:59 +02:00
2024-05-30 13:02:55 -07:00
2024-05-30 16:38:01 -04:00
2024-05-29 18:06:45 -07:00
2024-05-29 18:06:45 -07:00
2024-03-29 12:11:57 -04:00
2024-05-16 13:30:04 -04:00
2024-05-20 17:00:27 +02:00
2024-05-02 11:00:08 -06:00
2024-03-05 12:01:17 -05:00
2024-05-09 11:03:33 +02:00
2024-05-29 18:06:45 -07:00
2024-05-21 20:23:37 +02:00
2024-05-17 16:37:17 -04:00
2024-05-13 18:52:12 -04:00
2024-05-14 13:48:36 +02:00
2024-05-29 11:40:43 +02:00
2024-05-29 11:40:43 +02:00
2024-05-16 17:18:32 -04:00
2024-05-26 23:06:58 -06:00
2024-05-29 18:06:45 -07:00
2024-05-24 18:24:03 +02:00
2024-05-29 18:06:45 -07:00
2024-05-29 18:06:45 -07:00
2024-05-16 13:30:04 -04:00
2024-04-15 14:21:52 +02:00
2024-05-30 16:45:05 +02:00
2024-05-26 23:06:58 -06:00
2024-05-27 19:01:20 -06:00
2024-06-01 18:40:25 +02:00
2024-05-22 12:54:41 -06:00
2024-05-29 18:06:45 -07:00
2024-05-29 18:06:45 -07:00
2024-05-31 09:10:09 -07:00
2024-05-31 18:36:15 -07:00
2024-03-05 12:01:17 -05:00