Mercurial > hgrepos > Python > libs > ConfigMix
diff configmix/__init__.py @ 267:d715c10f2930
Allow an alternative to the "-*-ignore-*-" mode line: "-*- ignore -*-" (with spaces)
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 10 Sep 2020 02:01:28 +0200 |
| parents | 46571485b7d4 |
| children | 1484f6c0223a |
line wrap: on
line diff
--- a/configmix/__init__.py Thu Sep 10 02:00:11 2020 +0200 +++ b/configmix/__init__.py Thu Sep 10 02:01:28 2020 +0200 @@ -205,6 +205,7 @@ "javascript": _load_json, "json": _load_json, "-*-ignore-*-": _load_ignore, + "-*- ignore -*-": _load_ignore, } """Default associations between file modes and loader functions"""
