Enzo
|
22e54e6703
|
fmt: fix formatting array decomposition (#7835)
|
2021-01-03 16:19:43 +01:00 |
zakuro
|
91a1a2877b
|
fmt: add a test for struct embed (#7831)
|
2021-01-03 15:41:19 +01:00 |
zakuro
|
b3de003302
|
fmt: fix broken formatting in fn struct fields (#7794)
|
2021-01-02 16:36:31 +01:00 |
Alexander Medvednikov
|
9976641be0
|
fmt: fix a space in const decl
|
2020-12-30 02:24:38 +01:00 |
Alexander Medvednikov
|
ad78875a8c
|
parser: allow `const x = 0` consts outside of const blocks
|
2020-12-30 02:15:44 +01:00 |
joe-conigliaro
|
02965e753e
|
all: re-implement variadics using arrays & implement array decomposition to varg (#7689)
|
2020-12-29 16:14:08 +01:00 |
Lukas Neubert
|
cf441091f1
|
fmt: AnonFn with body is not single line (#7659)
|
2020-12-28 20:27:27 +02:00 |
Lukas Neubert
|
2360762a42
|
fmt: fix unexpected `comment`, expecting struct key for trailing arg syntax (#7658)
|
2020-12-28 20:26:24 +02:00 |
Lukas Neubert
|
4783503185
|
fmt: keep interface comments between methods (#7650)
|
2020-12-28 18:14:55 +02:00 |
Lukas Neubert
|
97bfabf194
|
fmt: heavily refactor and improve/fix logic for structs that use short args syntax (#7653)
|
2020-12-28 18:14:08 +02:00 |
Lukas Neubert
|
ef6011b94c
|
fmt: keep comments after struct decl default value (#7648)
|
2020-12-28 15:38:21 +02:00 |
Lukas Neubert
|
06fdf34214
|
fmt: unwrap long single line ifs (#7608)
|
2020-12-27 14:20:30 +01:00 |
Lukas Neubert
|
c9081a8df8
|
fmt: improve conditions for single line if
|
2020-12-27 12:59:28 +01:00 |
Lukas Neubert
|
9a5bbc3101
|
fmt: use single quotes around fixed string arr default expr (#7581)
|
2020-12-26 15:12:25 +02:00 |
Lukas Neubert
|
693e5137eb
|
fmt: cleanup copy pasta for array_init (#7579)
|
2020-12-26 14:22:50 +02:00 |
Lukas Neubert
|
f707e13b3f
|
fmt: keep order by in orm blocks (#7576)
|
2020-12-26 14:18:09 +02:00 |
Lukas Neubert
|
e7ca5dd17a
|
fmt: update expr_is_single_line for MatchExpr, StructInit and CallExpr with or block (#7564)
|
2020-12-25 21:43:50 +02:00 |
Lukas Neubert
|
2c0fba5480
|
fmt: keep comment between enum fields (#7566)
|
2020-12-25 21:41:59 +02:00 |
Lukas Neubert
|
8cd74df2f3
|
vfmt: keep UnsafeExpr linebreacks as set by developer (#7558)
|
2020-12-25 16:52:16 +02:00 |
Lukas Neubert
|
691e6f9d3f
|
fmt: keep any langauge prefix variations in struct fields (#7534)
|
2020-12-24 13:36:54 +02:00 |
zakuro
|
fec9f1324c
|
fmt: trim space in embedded comments (#7521)
|
2020-12-24 11:57:48 +01:00 |
spaceface
|
214290d55b
|
fmt: add a space around single-line `unsafe` expressions (#7505)
|
2020-12-23 19:13:42 +01:00 |
Daniel Däschle
|
b27f5c378c
|
all: reimplement struct embedding with methods (#7506)
|
2020-12-23 19:12:49 +01:00 |
zakuro
|
a6e6c48c36
|
fmt: keep _ separator in number literals (#7495)
|
2020-12-23 14:48:43 +02:00 |
Lukas Neubert
|
a2cd1b163c
|
fmt: keep empty curlies and parenthesis as they are (#7329)
|
2020-12-22 23:43:48 +01:00 |
Lukas Neubert
|
c4aae2b55f
|
vfmt: do not replace module aliases in fn param and return types (#7472)
|
2020-12-22 22:38:13 +02:00 |
Delyan Angelov
|
97855eca93
|
ci: fix the failing build-module-docs job
|
2020-12-22 17:25:57 +02:00 |
zakuro
|
fb0c4556fd
|
vfmt: keep JS object name (#7462)
|
2020-12-22 15:32:49 +02:00 |
Lukas Neubert
|
304aafdc50
|
fmt: add a space after + operator/method overload (#7453)
|
2020-12-21 21:20:00 +02:00 |
Delyan Angelov
|
04757a4853
|
vfmt: fix `struct Abc { field fn() ? }`
|
2020-12-18 11:32:04 +02:00 |
Lukas Neubert
|
c922565525
|
fmt: only insert a space after // if the 3rd char is alphanumeric (#7330)
|
2020-12-15 04:26:28 +01:00 |
Lukas Neubert
|
9b139c58ca
|
fmt: keep module alias in struct decl field types (#7305)
|
2020-12-14 05:03:43 +01:00 |
Lukas Neubert
|
d59c5b01e1
|
fmt: intelligent line wrap for trailing struct syntax (#7309)
|
2020-12-14 05:03:17 +01:00 |
Lukas Neubert
|
25153490e1
|
fmt: keep comments after assign on same line (#7269)
|
2020-12-11 19:20:24 +02:00 |
joe-conigliaro
|
d7ff342ab3
|
fmt: fix formatting in anon_fn_as_param_keep.vv
|
2020-12-11 21:13:18 +11:00 |
joe-conigliaro
|
1626aa5500
|
fmt: make test clearer
|
2020-12-11 21:09:36 +11:00 |
joe-conigliaro
|
d1224ffb5a
|
parser: error on non local array/map methods & add tests
|
2020-12-11 20:50:26 +11:00 |
Lukas Neubert
|
0e7192c9b7
|
fmt: keep comments in struct init without fields (#7212)
|
2020-12-09 16:35:03 +02:00 |
Delyan Angelov
|
338f3afd31
|
vfmt: fix `type MyFn = fn (int) int mut arr := []MyFn{}`
|
2020-12-09 15:18:45 +02:00 |
Lukas Neubert
|
3b6b5b8090
|
vfmt: properly parse comments on lines after init fields (#7202)
|
2020-12-09 11:11:22 +02:00 |
joe-conigliaro
|
78a6795319
|
all: change the way import symbols work & support consts (#7182)
|
2020-12-07 19:13:03 +02:00 |
Roland Lammel
|
028c82e255
|
fmt: improve map value alignment (#7105) (#7151)
|
2020-12-06 02:04:45 +01:00 |
spaceface777
|
50a3009113
|
fmt: make single-stmt `or` blocks single-line (#7126)
|
2020-12-04 13:25:23 +02:00 |
Lukas Neubert
|
02ba923ba7
|
fmt: do not add braces for trailing struct arg (#7072)
|
2020-12-04 11:22:26 +02:00 |
Lukas Neubert
|
dedb8f7e41
|
fmt: smarter wrap of orm lines (#7070)
|
2020-12-02 04:06:20 +01:00 |
Lukas Neubert
|
8adc8ed103
|
parser: do not fail on comment direct after import (#7071)
|
2020-12-01 22:32:34 +02:00 |
Alexander Medvednikov
|
3612bd58ef
|
fmt: revert the fn \n change
|
2020-12-01 17:00:06 +01:00 |
Alexander Medvednikov
|
0ddf0a4b92
|
gg: custom bold font path
|
2020-12-01 16:30:25 +01:00 |
Lukas Neubert
|
a98162118b
|
fmt: orm delete (#7035)
|
2020-11-30 14:02:36 +01:00 |
joe-conigliaro
|
ff63fb74d9
|
dont allow method on non-local types & no mod for arrays. closes #6971
|
2020-11-30 11:43:22 +11:00 |