Open mvdan opened 1 year ago
@mvdan in terms of adding support for @k
, do you have an idea of the amount of work required? Would it be as simple as adding it to https://github.com/mvdan/sh/blob/23633a432f903599a4ce46c30c4337e413a26ef1/syntax/parser.go#L1378?
I ask because I'm getting errors trying to format a bash script using @k
.
@ConnorBaker as far as the parser, yes, that should be it - plus a test. I'll send a patch shortly given this is so trivial.
See https://lwn.net/Articles/909596/. Quoting below the bits that may require changes in our parser.