1

Add support for .gitignore files

This commit is contained in:
Jessie Hildebrandt 2021-09-16 17:18:52 -04:00
parent cdda0fad55
commit de1b76b893

29
init.el
View File

@ -502,16 +502,6 @@
:mode :mode
("\\.fish\\'" . fish-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 ;; Load C Sharp Mode
;; (Associated files: .cs) ;; (Associated files: .cs)
(use-package csharp-mode (use-package csharp-mode
@ -544,6 +534,25 @@
("\\.frag\\'" . glsl-mode) ("\\.frag\\'" . glsl-mode)
("\\.vert\\'" . 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) ;; LSP Mode (Language Server Support)
;;==================== ;;====================