diff options
author | Tom Tromey <tom@tromey.com> | 2017-08-23 16:06:48 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-08-23 16:06:48 -0600 |
commit | ad3cd227aa915ac1e671c27aa642da49bac5c463 (patch) | |
tree | a9d41df74d4420745cf4bf2db6c1b7de510368e0 /lisp/files.el | |
parent | 9538ba6a0f7b906fed3bb7d10b9b98244469047b (diff) | |
download | emacs-ad3cd227aa915ac1e671c27aa642da49bac5c463.tar.gz |
Add conf-toml-mode
* etc/NEWS: Mention conf-toml-mode.
* lisp/files.el (auto-mode-alist): Add entry for .toml.
* lisp/textmodes/conf-mode.el (conf-toml-mode-syntax-table)
(conf-toml-font-lock-keywords): New defvars.
(conf-toml-mode): New mode.
Diffstat (limited to 'lisp/files.el')
-rw-r--r-- | lisp/files.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el index 0311cc6d210..bc347c1d7df 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2653,6 +2653,7 @@ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\|CBR\\|7Z\\)\\'" . archive-mo ("\\.ppd\\'" . conf-ppd-mode) ("java.+\\.conf\\'" . conf-javaprop-mode) ("\\.properties\\(?:\\.[a-zA-Z0-9._-]+\\)?\\'" . conf-javaprop-mode) + ("\\.toml\\'" . conf-toml-mode) ("\\`/etc/\\(?:DIR_COLORS\\|ethers\\|.?fstab\\|.*hosts\\|lesskey\\|login\\.?de\\(?:fs\\|vperm\\)\\|magic\\|mtab\\|pam\\.d/.*\\|permissions\\(?:\\.d/.+\\)?\\|protocols\\|rpc\\|services\\)\\'" . conf-space-mode) ("\\`/etc/\\(?:acpid?/.+\\|aliases\\(?:\\.d/.+\\)?\\|default/.+\\|group-?\\|hosts\\..+\\|inittab\\|ksysguarddrc\\|opera6rc\\|passwd-?\\|shadow-?\\|sysconfig/.+\\)\\'" . conf-mode) ;; ChangeLog.old etc. Other change-log-mode entries are above; |