From 0668d795f35bbe3f49f96ed92fc105699e738a1b Mon Sep 17 00:00:00 2001 From: Christophe Buffenoir Date: Fri, 14 Feb 2014 00:32:15 +0100 Subject: [PATCH] Add coffeescript support --- common/.vimrc | 4 +++- update-home.sh | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/common/.vimrc b/common/.vimrc index 96dad81..8c7a24c 100644 --- a/common/.vimrc +++ b/common/.vimrc @@ -33,7 +33,6 @@ set shortmess+=filmnrxoOtT " retire le hit set background=dark " fond noir par défaut set ai " indentation automatique -syntax enable " activation de la coloration syntaxique set t_Co=256 " pour un terminal en 256 couleurs, attention, sélection transparente avec un fond transparent ! set autowrite " Sauvegarde automatiquement set expandtab " Utilise des espaces plutôt que le caractère tabulation @@ -231,3 +230,6 @@ endif let g:jedi#completions_command = "" autocmd! WinEnter * :if !exists('w:parens_match_id') | let w:parens_match_id=matchadd('operator', '[(){}\[\]\-\+=\\/\*\^,\.:<>]') | endif +filetype off +filetype on +syntax enable " activation de la coloration syntaxique diff --git a/update-home.sh b/update-home.sh index 8cdc538..f3730d8 100755 --- a/update-home.sh +++ b/update-home.sh @@ -130,3 +130,7 @@ git clone https://github.com/hdima/python-syntax.git ~/.vim/bundle/python-syntax # Install better support of colorscheme rm -rf ~/.vim/bundle/csapprox git clone https://github.com/godlygeek/csapprox.git ~/.vim/bundle/csapprox + +# Install support of coffeescript +rm -rf ~/.vim/bundle/coffeescript +git clone https://github.com/kchmck/vim-coffee-script.git ~/.vim/bundle/coffeescript