Commit graph

13 commits

Author SHA1 Message Date
Bernard Xie
4bd5642e62
fix and add tests 2023-06-20 13:07:34 -07:00
Bernard Xie
2c13a97cdd
refactor, fix tests, next 2023-06-20 11:29:46 -07:00
Bernard Xie
a7d3bb0f91
Merge branch 'master' into 1421/bottom-scope-special-boards 2023-06-19 17:47:23 -07:00
Bernard Xie
9c0f49829a
add test 2023-06-19 17:33:41 -07:00
Anmol Sethi
dc1536e8fb
d2format: path.Clean imports 2023-06-09 19:31:57 -07:00
Anmol Sethi
a5d3cc1429
d2parser: Parse and format @../file imports correctly 2023-06-06 16:15:01 -07:00
Anmol Sethi
0300b81c31
d2parser: Strip leading ./ from imports 2023-06-06 14:52:54 -07:00
Anmol Sethi
c325e94cad
d2parser: Allow .d2 extension on quoted import strings 2023-05-30 15:56:01 -07:00
Anmol Sethi
89e1e324d7
d2parser: Add imports support
Includes rewriting @file.d2 to @file
2023-05-30 15:44:35 -07:00
Anmol Sethi
1e3cb397a9
testdata: Add a few parse tests and cleanup testdata
Updates #955
Updates #322
2023-03-13 15:28:53 -07:00
Alexander Wang
a354ae574e
preserve comment spacing in autofmt 2022-12-13 10:06:14 -08:00
Anmol Sethi
d116889fc9
Switch fully to util-go 2022-12-01 11:48:49 -08:00
Alexander Wang
524c089a74 oss
Co-authored-by: Anmol Sethi <hi@nhooyr.io>
2022-11-03 06:54:49 -07:00