zeertzjq
5dbf6ab9b1
vim-patch:9.1.0004: reloading colorscheme when not changing 'background' ( #26877 )
...
Problem: reloading colorscheme when not changing 'background'
Solution: Check, if the background option value actually changed,
if not, return early.
Only reload colorscheme when bg is changed
Currently the highlight groups are re-initialized and the colorscheme
(if any) is reloaded anytime 'background' is set, even if it is not
changed. This is unnecessary, because if the value was not changed then
there is no need to change highlight groups or do anything with the
colorscheme. Instead, only reload the colorscheme if the value of
'background' was actually changed.
closes : vim/vim#13700
83ad2726ff
Co-authored-by: Gregory Anders <greg@gpanders.com >
2024-01-04 05:45:26 +08:00
..
2024-01-01 12:20:19 +01:00
2023-07-25 05:07:13 -07:00
2023-12-06 08:04:21 +08:00
2023-12-28 22:41:01 +01:00
2023-12-16 18:59:59 +08:00
2023-12-20 07:02:48 +08:00
2023-10-29 16:02:32 +08:00
2023-12-09 15:35:45 +08:00
2019-05-09 20:27:11 -04:00
2024-01-01 15:03:50 -06:00
2023-12-24 20:50:44 +01:00
2023-12-16 14:43:03 +01:00
2023-12-13 20:31:16 +01:00
2023-12-13 20:31:16 +01:00
2024-01-02 22:00:06 +01:00
2024-01-01 15:03:50 -06:00
2023-04-17 15:46:24 +08:00
2023-10-20 13:03:36 +02:00
2023-10-04 06:31:25 -07:00
2023-12-06 08:04:21 +08:00
2023-12-21 14:19:10 +00:00
2023-12-13 20:31:16 +01:00
2024-01-02 19:06:43 +08:00
2023-09-17 20:29:18 +08:00
2023-06-25 17:14:28 +02:00
2021-09-10 08:48:27 +02:00
2023-06-25 17:14:28 +02:00
2023-10-29 16:02:32 +08:00
2023-06-25 17:14:28 +02:00
2023-06-25 17:14:28 +02:00
2023-02-28 15:14:03 +01:00
2023-12-13 18:31:05 +01:00
2023-06-26 11:16:55 +02:00
2023-06-22 03:44:51 -07:00
2023-07-25 05:07:13 -07:00
2023-04-29 09:20:52 +08:00
2023-12-30 10:53:31 +01:00
2023-10-14 19:28:41 +08:00
2023-09-22 06:51:47 +08:00
2023-12-13 17:31:39 +01:00
2023-05-13 21:33:22 +02:00
2024-01-02 18:52:29 +01:00
2023-12-06 08:04:21 +08:00
2024-01-03 19:17:52 +00:00
2024-01-02 22:00:06 +01:00
2023-09-02 16:58:19 +02:00
2023-11-09 21:34:04 +08:00
2023-11-17 12:58:57 +01:00
2023-12-22 10:33:34 +08:00
2022-10-14 08:01:13 -07:00
2023-12-28 08:48:03 +08:00
2023-10-16 08:13:37 -07:00
2024-01-03 19:17:52 +00:00
2023-12-19 13:29:13 +08:00
2022-12-11 18:41:26 -08:00
2023-12-25 14:13:52 +01:00
2023-10-21 18:04:08 +08:00
2023-11-14 23:29:09 +01:00
2023-05-05 18:15:44 +02:00
2023-07-25 20:58:09 +08:00
2023-06-29 14:14:14 -07:00
2018-10-29 09:55:07 +01:00
2023-01-01 15:05:13 +01:00
2023-06-25 17:14:28 +02:00
2015-08-15 15:25:30 -03:00
2023-11-06 19:03:08 +08:00
2023-11-16 13:56:05 -06:00
2023-10-26 07:42:29 +08:00
2023-12-06 08:04:21 +08:00
2023-10-04 06:31:25 -07:00
2023-10-10 19:20:32 +02:00
2023-02-21 23:50:29 +08:00
2023-12-27 07:26:18 +08:00
2023-01-01 15:05:13 +01:00
2023-06-19 08:40:33 -07:00
2023-09-28 05:22:09 +08:00
2023-11-27 17:43:13 +08:00
2023-06-11 12:40:22 +01:00
2023-11-24 07:19:06 +08:00
2023-04-04 19:07:33 +02:00
2023-12-30 10:53:31 +01:00
2022-09-26 17:43:23 +08:00
2023-07-25 05:07:13 -07:00
2023-09-29 10:57:02 -05:00
2023-08-09 11:06:13 +02:00
2023-08-10 17:28:02 +08:00
2023-12-20 18:58:40 +01:00
2023-08-13 13:25:10 +01:00
2023-11-13 19:04:47 -06:00
2023-08-10 17:45:36 +08:00
2023-10-21 18:46:52 +08:00
2023-05-15 09:38:32 +02:00
2023-09-25 18:23:15 +02:00
2023-04-23 15:22:55 +02:00
2022-02-24 18:13:44 +08:00
2023-08-10 17:28:04 +08:00
2023-01-03 10:07:43 +00:00
2022-02-24 18:13:44 +08:00
2023-01-01 15:05:21 +01:00
2023-06-25 17:14:28 +02:00
2023-01-01 15:05:21 +01:00
2023-06-19 08:40:33 -07:00
2023-06-25 17:14:28 +02:00
2023-01-01 15:05:21 +01:00
2023-07-25 05:07:13 -07:00
2023-06-25 17:14:28 +02:00
2021-05-01 22:29:03 -04:00
2023-06-25 17:14:28 +02:00
2023-01-01 15:05:21 +01:00
2018-10-29 10:01:44 +01:00
2021-04-29 09:27:19 -04:00
2023-06-25 17:14:28 +02:00
2023-06-26 11:29:12 +02:00
2023-06-25 17:14:28 +02:00
2021-04-29 20:42:16 -04:00
2023-01-01 15:05:21 +01:00
2023-06-26 11:29:12 +02:00
2023-11-09 21:34:04 +08:00
2023-01-01 15:05:21 +01:00
2023-07-25 05:07:13 -07:00
2021-04-27 09:21:34 -04:00
2023-06-19 08:40:33 -07:00
2023-01-03 10:07:43 +00:00
2023-08-10 09:53:56 -05:00
2023-06-25 17:14:28 +02:00
2024-01-04 05:45:26 +08:00
2023-12-27 07:26:18 +08:00
2023-12-21 14:19:10 +00:00
2023-12-25 10:21:13 +08:00