From 6378a953089bbada9d93d0c1ba2316ee349a2ff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 5 Oct 2022 20:26:35 +0300 Subject: [PATCH] Add more dotenv file types Upstream PR: https://github.com/zaynali53/DotENV/pull/17 --- assets/syntaxes/02_Extra/DotENV.sublime-syntax | 5 +++++ doc/assets.md | 1 + 2 files changed, 6 insertions(+) diff --git a/assets/syntaxes/02_Extra/DotENV.sublime-syntax b/assets/syntaxes/02_Extra/DotENV.sublime-syntax index 708a5a82..9abbfa1e 100644 --- a/assets/syntaxes/02_Extra/DotENV.sublime-syntax +++ b/assets/syntaxes/02_Extra/DotENV.sublime-syntax @@ -8,6 +8,7 @@ file_extensions: - .env.local - .env.sample - .env.example + - .env.template - .env.test - .env.test.local - .env.testing @@ -23,6 +24,10 @@ file_extensions: - .env.defaults - .envrc - .flaskenv + - env + - env.example + - env.sample + - env.template scope: source.env contexts: main: diff --git a/doc/assets.md b/doc/assets.md index 56140e2f..c5bc5ec0 100644 --- a/doc/assets.md +++ b/doc/assets.md @@ -79,6 +79,7 @@ The following files have been manually modified after converting from a `.tmLang * `Apache.sublime_syntax`=> removed `conf` and `CONF` file types. * `Dart.sublime-syntax` => removed `#regex.dart` include. +* `DotENV.sublime-syntax` => added `.env.template`, `env` and `env.*` file types ([upstream PR](https://github.com/zaynali53/DotENV/pull/17)). * `INI.sublime-syntax` => added `.hgrc`, `hgrc`, and `desktop` file types and support for comments after section headers. * `Org mode.sublime-syntax` => removed `task` file type. * `Robot.sublime_syntax` => changed name to "Robot Framework", added `.resource` extension.