earthly / earthly-emacs

Major mode for editing Earthly Earthfile
Mozilla Public License 2.0
18 stars 8 forks source link

Keyword is out of sync with earthly.vim #20

Closed wingyplus closed 2 years ago

wingyplus commented 2 years ago

From a quick look at https://github.com/earthly/earthly.vim/blob/main/syntax/Earthfile.vim#L50. I see some of the keyword is missing:

wingyplus commented 2 years ago

@vladaionescu I didn't see any reference from https://docs.earthly.dev/docs/earthfile documentation. I found some of them only at https://github.com/earthly/earthly/blob/main/ast/parser/EarthLexer.g4. Can you help me clarify those syntaxes?

vladaionescu commented 2 years ago

Hi @wingyplus - DOCKER LOAD and DOCKER PULL are obsolete for quite a while now, so we don't need to add them.

CACHE is a new command, that hasn't been GA'd just yet. I would add it since it's coming very soon. See details here: https://github.com/earthly/earthly/issues/1399

wingyplus commented 2 years ago

@vladaionescu Thank you for your information. Adding only CACHE would solve this issue.