Skip to content
An Emacs major mode for .env files
Emacs Lisp
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
README.md
dotenv-mode.el

README.md

MELPA

dotenv-mode

An Emacs mode for .env files that includes the following features:

  • Support for common .env file syntax as described in examples/.

Possible enhancements to be implemented in the future (willing to accept pull requests):

Contributions are welcome 😊.

Installation

Manual installation

  1. Copy dotenv-mode.el to your load path.

  2. Add the following to your init.el:

    (require 'dotenv-mode) ; unless installed from a package
    (add-to-list 'auto-mode-alist '("\\.env\\..*\\'" . dotenv-mode)) ;; for optionally supporting additional file extensions such as `.env.test' with this major mode

Other

Link to original gist (see first commit for original version).

You can’t perform that action at this time.