/earthly-emacs

Major mode for editing Earthly Earthfile

Primary LanguageEmacs LispMozilla Public License 2.0MPL-2.0

earthly-mode

MELPA

Major mode for editing Earthly Earthfile (https://docs.earthly.dev/docs/earthfile) developed by @wingyplus, @TheCoreMan and @duck1123

Current features

  • Syntax highlighting support.
  • Toggle comment.

Installation Notes

use-package

If you're using use-package, you can do:

(use-package earthfile-mode
  :ensure t)

Manually via MELPA

Just run this command in Emacs:

M-x package-install RET earthfile-mode RET

Manual via local installation

Add earthfile-mode to load-path using add-to-list:

(add-to-list 'load-path "path/to/earthfile-mode")
(require 'earthfile-mode)

Screenshot

Earthfile syntax