1

Add modes for .fnl and docker-compose.yml files

This commit is contained in:
Jessie Hildebrandt 2021-07-12 20:11:53 -04:00
parent f72414591d
commit 7f415394f2

16
init.el
View File

@ -449,7 +449,10 @@
;;==================== ;;====================
;; Currently Supported: ;; 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 ;; Load Lua Mode
;; (Associated files: .lua) ;; (Associated files: .lua)
@ -457,6 +460,12 @@
:mode :mode
("\\.lua\\'" . lua-mode)) ("\\.lua\\'" . lua-mode))
;; Load Fennel Mode
;; (Associated files: .fnl)
(use-package fennel-mode
:mode
("\\.fnl\\'" . fennel-mode))
;; Load Web Mode ;; Load Web Mode
;; (Associated files: .php, .html) ;; (Associated files: .php, .html)
;; (In js-jsx-mode: .jsx) ;; (In js-jsx-mode: .jsx)
@ -498,6 +507,11 @@
:mode :mode
("\\Dockerfile\\'" . dockerfile-mode)) ("\\Dockerfile\\'" . dockerfile-mode))
;; Load Docker Compose Mode
(use-package docker-compose-mode
:mode
("\\docker-compose.yml\\'"))
;; Load C Sharp Mode ;; Load C Sharp Mode
;; (Associated files: .cs) ;; (Associated files: .cs)
(use-package csharp-mode (use-package csharp-mode