Assign conanfile to conf-mode.

This commit is contained in:
tastytea 2019-08-10 19:44:09 +02:00
parent f88e2b3ae3
commit 457e02b8f1
1 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file.
;; Time-stamp: <2019-08-09T18:38:44+00:00>
;; Time-stamp: <2019-08-10T17:43:46+00:00>
;;; Commentary:
;; I am using this file with Emacs 26, but most of it will probably work with
@ -950,10 +950,11 @@ With argument, do this that many times."
;;;;;;;;;;;;;;;;;;;; Other file formats ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(use-package conf-mode
:mode
("\\`/etc/conf\\.d/" . conf-mode) ; openrc config files.
("\\`/etc/conf\\.d/" . conf-mode) ; openrc config files.
("\\`/etc/portage/package\\.use/" . conf-space-mode) ; Portage config.
("\\`/etc/portage/package\\.accept_keywords/" . conf-space-mode)
("\\.pc\\(\\.in\\)?$" . conf-mode) ; pkg-config files.
("\\.pc\\(\\.in\\)?$" . conf-mode) ; pkg-config files.
("conanfile\\.txt$" . conf-mode) ; Conan recipes.
)
(use-package adoc-mode