aboutsummaryrefslogtreecommitdiff
path: root/vim/ftdetect
diff options
context:
space:
mode:
authorMatt Singleton <matt@datadoghq.com>2011-12-15 12:37:21 -0500
committerMatt Singleton <matt@datadoghq.com>2011-12-15 12:37:21 -0500
commit02c7d9e3fe9647c72d36ea7cb49e885072e3fcbd (patch)
tree9b669556982e3f964cf7722794de508948a3fd9b /vim/ftdetect
parentfead075335c4a799a057d311b39c9969fb0be2be (diff)
adding coffescript vim support
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