From 7f415394f2d11bc6aad6670f58d5a50f55065667 Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Mon, 12 Jul 2021 20:11:53 -0400 Subject: [PATCH] Add modes for .fnl and docker-compose.yml files --- init.el | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 3d70b98..9662454 100644 --- a/init.el +++ b/init.el @@ -449,7 +449,10 @@ ;;==================== ;; Currently Supported: -;; Lua, PHP, Rust, Fish, C#, Dart, Kotlin, GDScript +;; Lua, Fennel, PHP, Rust, Fish, C#, Dart, Kotlin, GDScript + +;; Misc. Supported: +;; Docker, docker-compose ;; Load Lua Mode ;; (Associated files: .lua) @@ -457,6 +460,12 @@ :mode ("\\.lua\\'" . lua-mode)) +;; Load Fennel Mode +;; (Associated files: .fnl) +(use-package fennel-mode + :mode + ("\\.fnl\\'" . fennel-mode)) + ;; Load Web Mode ;; (Associated files: .php, .html) ;; (In js-jsx-mode: .jsx) @@ -498,6 +507,11 @@ :mode ("\\Dockerfile\\'" . dockerfile-mode)) +;; Load Docker Compose Mode +(use-package docker-compose-mode + :mode + ("\\docker-compose.yml\\'")) + ;; Load C Sharp Mode ;; (Associated files: .cs) (use-package csharp-mode