Hey @AckslD, awesome work, I like the concept of it a lot.
I've gave it a try and at first, it appended , to the end of the list where it shouldn't have because of how nix syntax.
So I've create a setting function that let's me decide when to skip adding comma to the end of the list like so:
settings = {
...
add_last_colon_if_missing = function ()
return true
end,
}
local add_last_colon_if_missing = function(end_pos)
if not settings.add_last_colon_if_missing() then return end
....
end
I'm sure you have way better idea for this issue.
But the real issue I have is how revj transforms this
buildInputs = [ python3 python37Packages.numpy postgresql ];
to this
buildInputs = [
python3 python37Packages.numpy postgresql ];
Where it should've transformed it to this:
buildInputs = [
python3
python37Packages.numpy
postgresql
];
Thanks
Hey @AckslD, awesome work, I like the concept of it a lot.
I've gave it a try and at first, it appended
,to the end of the list where it shouldn't have because of how nix syntax.So I've create a setting function that let's me decide when to skip adding comma to the end of the list like so:
I'm sure you have way better idea for this issue.
But the real issue I have is how revj transforms this
to this
Where it should've transformed it to this:
Thanks