earthly / earthly-emacs

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

Keyword is out of sync with earthly.vim #20

Closed wingyplus closed 1 year ago

wingyplus commented 1 year 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 1 year 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 1 year 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 1 year ago

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