summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-29 14:25:37 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-29 14:25:37 -0700
commit2729a000e3f1249b6e0824cb8a773590c6534961 (patch)
tree204e7c0d93cffbeb471a175d678573a056b242c4 /emacs/custom
parentmy-text: add markdown to auto-mode (diff)
downloademacs.d-2729a000e3f1249b6e0824cb8a773590c6534961.tar.gz
conf: swarp's metadata file is in YAML
Diffstat (limited to 'emacs/custom')
-rw-r--r--emacs/custom/my-conf.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/emacs/custom/my-conf.el b/emacs/custom/my-conf.el
index 115e158..7b1dd13 100644
--- a/emacs/custom/my-conf.el
+++ b/emacs/custom/my-conf.el
@@ -6,10 +6,11 @@
 
 ;;; Code:
 
-(add-to-list 'auto-mode-alist '("\\.yml\\'"     . yaml-mode))
-(add-to-list 'auto-mode-alist '("\\.yaml\\'"    . yaml-mode))
-(add-to-list 'auto-mode-alist '("Dockerfile\\'" . dockerfile-mode))
-(add-to-list 'auto-mode-alist '("\\.tf\\'"      . terraform-mode))
+(add-to-list 'auto-mode-alist '("\\.yml\\'"            . yaml-mode))
+(add-to-list 'auto-mode-alist '("_SWARP10_METADATA\\'" . yaml-mode))  ;; roblox related
+(add-to-list 'auto-mode-alist '("\\.yaml\\'"           . yaml-mode))
+(add-to-list 'auto-mode-alist '("Dockerfile\\'"        . dockerfile-mode))
+(add-to-list 'auto-mode-alist '("\\.tf\\'"             . terraform-mode))
 
 (customize-set-variable 'dockerfile-use-sudo t)
 (customize-set-variable 'dockerfile-use-buildkit t)