Просмотр исходного кода

add vim config for literate coffeescript

Weiyi Lou 12 лет назад
Родитель
Сommit
725b5556f2
2 измененных файлов с 4 добавлено и 0 удалено
  1. 3 0
      vim/settings/coffee-script.vim
  2. 1 0
      vim/vimrc.bundles

+ 3 - 0
vim/settings/coffee-script.vim

@@ -1,3 +1,6 @@
 " Coffee Compile and Watch should open vertical splits by default
 let coffee_compile_vert = 1
 let coffee_watch_vert = 1
+
+" Load coffee script plugin for literate coffeescript files as well
+autocmd FileType litcoffee runtime ftplugin/coffee.vim

+ 1 - 0
vim/vimrc.bundles

@@ -84,6 +84,7 @@ Bundle 'tpope/vim-markdown'
 Bundle 'tpope/vim-cucumber'
 Bundle 'quentindecock/vim-cucumber-align-pipes'
 Bundle 'kchmck/vim-coffee-script'
+Bundle 'mintplant/vim-literate-coffeescript'
 " }}}
 
 " }}}