From de1b76b8933f50d2452a37f70085350bceb02fb9 Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Thu, 16 Sep 2021 17:18:52 -0400 Subject: [PATCH] Add support for .gitignore files --- init.el | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/init.el b/init.el index ca5d84a..b86cb64 100644 --- a/init.el +++ b/init.el @@ -502,16 +502,6 @@ :mode ("\\.fish\\'" . fish-mode)) -;; Load Docker Mode -(use-package dockerfile-mode - :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 @@ -544,6 +534,25 @@ ("\\.frag\\'" . glsl-mode) ("\\.vert\\'" . glsl-mode)) +;;==================== +;; File-Specific Modes +;;==================== + +;; Load Dockerfile Mode +(use-package dockerfile-mode + :mode + ("\\Dockerfile\\'" . dockerfile-mode)) + +;; Load Docker Compose Mode +(use-package docker-compose-mode + :mode + ("\\docker-compose.yml\\'")) + +;; Load .gitignore Mode +(use-package gitignore-mode + :mode + ("\\.gitignore\\'" . gitignore-mode)) + ;;==================== ;; LSP Mode (Language Server Support) ;;====================