Skip to content

Commit

Permalink
Merge pull request #2356 from scop/feat/env-extension
Browse files Browse the repository at this point in the history
Add more dotenv file types
  • Loading branch information
sharkdp committed Oct 30, 2022
2 parents c3347c6 + b29f66c commit 8592186
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/syntaxes/02_Extra/DotENV.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ file_extensions:
- .env.local
- .env.sample
- .env.example
- .env.template
- .env.test
- .env.test.local
- .env.testing
Expand All @@ -23,6 +24,10 @@ file_extensions:
- .env.defaults
- .envrc
- .flaskenv
- env
- env.example
- env.sample
- env.template
scope: source.env
contexts:
main:
Expand Down
1 change: 1 addition & 0 deletions doc/assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `.coveragerc`, `.pylintrc`, `.gitlint`, `.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.
Expand Down

0 comments on commit 8592186

Please sign in to comment.