diff options
Diffstat (limited to 'emacs.d/10-file-associations.el')
-rw-r--r-- | emacs.d/10-file-associations.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs.d/10-file-associations.el b/emacs.d/10-file-associations.el new file mode 100644 index 0000000..00084f4 --- /dev/null +++ b/emacs.d/10-file-associations.el @@ -0,0 +1,8 @@ +(add-to-list 'auto-mode-alist '("\\.vala$" . vala-mode)) +(add-to-list 'auto-mode-alist '("\\.vapi$" . vala-mode)) +(add-to-list 'auto-mode-alist '("\\.cs$" . csharp-mode)) +(add-to-list 'auto-mode-alist '("\\.bat$" . batch-mode)) +(add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode)) + +(add-to-list 'file-coding-system-alist '("\\.vala$" . utf-8)) +(add-to-list 'file-coding-system-alist '("\\.vapi$" . utf-8)) |