tree-sitter-dockerfile icon indicating copy to clipboard operation
tree-sitter-dockerfile copied to clipboard

Allow ENV values to have spaces and be multiline

Open marciomazza opened this issue 3 years ago • 0 comments

The ENV "Alternative Syntax" mentioned in https://docs.docker.com/engine/reference/builder/#env allows values to have spaces and span multiple lines.

This is an example highlight before the grammar change:

highlight_before

Notice it breaks after the ENV line.

After the grammar change the highlight becomes:

highlight_after

marciomazza avatar Sep 14 '22 13:09 marciomazza