summaryrefslogtreecommitdiff
path: root/.vim/filetype.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.vim/filetype.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/.vim/filetype.vim b/.vim/filetype.vim
new file mode 100644
index 0000000..d267276
--- /dev/null
+++ b/.vim/filetype.vim
@@ -0,0 +1,11 @@
+if exists("did_load_filetypes")
+ finish
+endif
+augroup filetypedetect
+ au! BufRead,BufNewFile *.cobra setfiletype cobra
+ au! BufRead,BufNewFile *.vala setfiletype vala
+ au! BufRead,BufNewFile *.tpl setfiletype npt
+ au! BufRead,BufNewFile *.mako setfiletype mako
+ au! BufRead,BufNewFile *.ML setfiletype sml
+augroup END
+