Yuya Nishihara
e2be4fa1ac
config: migrate underlying data structure to toml_edit
...
This patch does not change the handling of inline tables yet. Both inline and
non-inline tables are merged as before. OTOH, .set_value() is strict about table
types because it should refuse to overwrite a table whereas an inline table
should be overwritten as a value. This matches "jj config set"/"unset"
semantics. rules_from_config() in formatter.rs uses .as_inline_table(), which is
valid because toml_edit::Value type never contains non-inline table.
Since toml_edit::Value doesn't implement PartialEq, stacking tests now use
insta::assert_snapshot!().
2024-12-10 12:11:39 +09:00
..
2024-09-05 08:56:04 -07:00
2024-12-08 18:04:26 +09:00
2024-11-21 11:50:03 -06:00
2024-09-24 10:52:06 +02:00
2024-12-09 09:52:07 +09:00
2024-10-23 23:51:21 +09:00
2024-09-11 18:54:45 +02:00
2024-12-10 12:11:39 +09:00
2024-12-08 15:17:43 +05:30
2024-11-20 10:50:16 +09:00
2024-11-25 12:09:21 +09:00
2024-12-04 10:40:56 -08:00
2024-12-08 15:17:43 +05:30
2024-12-06 20:44:43 +01:00
2024-11-20 10:50:16 +09:00
2024-12-10 12:11:39 +09:00
2024-07-03 20:26:30 -04:00
2024-11-08 10:34:02 +09:00
2024-12-04 10:40:56 -08:00
2024-12-09 09:52:07 +09:00
2024-12-09 09:52:07 +09:00
2024-12-04 08:38:44 +09:00
2024-07-16 12:54:24 +02:00
2024-12-09 09:52:07 +09:00
2024-11-05 14:49:57 +09:00
2024-09-22 15:02:21 +01:00
2024-10-04 20:52:59 +09:00
2024-09-09 07:49:55 -07:00
2024-12-10 12:11:39 +09:00
2024-06-15 20:30:40 -07:00
2024-11-15 18:31:28 +08:00
2024-11-20 10:50:16 +09:00
2024-11-29 11:27:05 -08:00
2024-10-13 20:06:03 -07:00
2024-10-30 08:01:02 -07:00
2024-12-04 13:12:30 -06:00
2024-12-04 13:12:30 -06:00
2024-09-11 18:54:45 +02:00
2024-05-17 13:55:20 -07:00
2024-09-11 18:54:45 +02:00
2024-12-10 12:11:39 +09:00
2024-10-31 16:55:18 -03:00
2024-11-18 13:24:16 -08:00
2024-10-30 08:01:02 -07:00
2024-11-21 11:50:03 -06:00
2024-12-10 12:11:39 +09:00
2024-11-21 11:50:03 -06:00
2024-11-20 10:50:16 +09:00
2024-12-09 09:52:07 +09:00
2024-11-20 10:50:16 +09:00
2024-11-20 10:50:16 +09:00
2024-11-12 16:04:53 +08:00
2024-12-03 20:08:31 -06:00
2024-12-09 09:52:07 +09:00
2024-10-04 17:09:43 +02:00
2024-08-22 14:52:54 -04:00
2024-02-06 18:19:41 -08:00
2024-12-08 15:17:43 +05:30
2024-11-26 13:19:25 +08:00
2024-07-04 11:30:20 +10:00
2024-12-04 10:40:56 -08:00
2024-12-04 10:40:56 -08:00
2024-09-13 12:57:56 +02:00
2024-09-11 18:54:45 +02:00
2024-11-10 21:41:24 +09:00
2024-11-19 21:11:22 +09:00
2024-12-04 10:40:56 -08:00
2024-11-09 11:49:33 +01:00
2024-12-08 09:19:35 +09:00
2024-11-20 10:50:16 +09:00