summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2014-06-08 13:22:29 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2014-06-08 13:22:29 +0200
commit56a815be940d1ebac44c7c97a837065f566410fd (patch)
tree3f2502d95eed49e15d22481c082a8f4285a8940e /ftdetect
parent45273d44d4b1bd9a1be431c1a98f9046ed3a5c79 (diff)
downloadvim-polyglot-56a815be940d1ebac44c7c97a837065f566410fd.tar.gz
vim-polyglot-56a815be940d1ebac44c7c97a837065f566410fd.zip
Add haxe syntax support, closes #29
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 28354d61..46961a5a 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -49,6 +49,7 @@ au BufReadPost *.go call s:gofiletype_post()
autocmd BufNewFile,BufRead *.haml,*.hamlbars,*.hamlc setf haml
autocmd BufNewFile,BufRead *.sass setf sass
autocmd BufNewFile,BufRead *.scss setf scss
+autocmd BufNewFile,BufRead *.hx setf haxe
autocmd BufNewFile,BufReadPost *.jade set filetype=jade
autocmd BufNewFile,BufRead *Spec.js,*_spec.js set filetype=jasmine.javascript syntax=jasmine
au BufNewFile,BufRead *.js setf javascript