Skip to content

preetpalS/emacs-dotenv-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 

Repository files navigation

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).