aboutsummaryrefslogtreecommitdiff
path: root/vim/ftdetect
diff options
context:
space:
mode:
Diffstat (limited to 'vim/ftdetect')
-rwxr-xr-xvim/ftdetect/coffee.vim8
-rwxr-xr-xvim/ftdetect/eco.vim1
2 files changed, 9 insertions, 0 deletions
diff --git a/vim/ftdetect/coffee.vim b/vim/ftdetect/coffee.vim
new file mode 100755
index 0000000..25daf12
--- /dev/null
+++ b/vim/ftdetect/coffee.vim
@@ -0,0 +1,8 @@
+" Language: CoffeeScript
+" Maintainer: Mick Koch <kchmck@gmail.com>
+" URL: http://github.com/kchmck/vim-coffee-script
+" License: WTFPL
+
+autocmd BufNewFile,BufRead *.coffee set filetype=coffee
+autocmd BufNewFile,BufRead *Cakefile set filetype=coffee
+autocmd BufNewFile,BufRead *.coffeekup set filetype=coffee
diff --git a/vim/ftdetect/eco.vim b/vim/ftdetect/eco.vim
new file mode 100755
index 0000000..b420649
--- /dev/null
+++ b/vim/ftdetect/eco.vim
@@ -0,0 +1 @@
+autocmd BufNewFile,BufRead *.eco set filetype=eco