From 78484b9e550d3c96691fbb661d251af4e8d891e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 28 Oct 2015 15:02:47 +0100 Subject: eruby.vim is part of regular installation --- syntax/eruby.vim | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 syntax/eruby.vim diff --git a/syntax/eruby.vim b/syntax/eruby.vim deleted file mode 100644 index 2888e54..0000000 --- a/syntax/eruby.vim +++ /dev/null @@ -1,42 +0,0 @@ -" Vim syntax file -" Language: eruby -" Maintainer: Michael Brailsford -" Installation: -" To automatilcally load this file when a .rhtml file is opened, add the -" following lines to ~/.vim/filetype.vim: -" -" augroup filetypedetect -" au! BufRead,BufNewFile *.rhtml setfiletype eruby -" augroup END -" -" You will have to restart vim for this to take effect. In any case it -" is a good idea to read ":he new-filetype" so that you know what is going -" on, and why the above lines work. - -if version < 600 - syntax clear -elseif exists("b:current_syntax") - finish -endif - -"Source the html syntax file -ru! syntax/html.vim -"Set the filetype to html to load the html ftplugins -set ft=html -unlet b:current_syntax - -"Put the ruby syntax file in @rubyTop -syn include @rubyTop syntax/ruby.vim - -syn region erubyBlock matchgroup=erubyRubyDelim start=#<%=\?# end=#%># keepend containedin=ALL contains=@rubyTop,erubyEnd -syn region erubyComment start=+<%#+ end=#%># keepend -syn match erubyEnd #\# - -" hi erubyBlock ctermbg=Gray -hi link erubyDelim delimiter -hi link erubyComment comment -hi link erubyEnd rubyControl - -iab %= <%= %> -iab %% <% -%> -" vim: set ts=4 sw=4: -- cgit v1.1-2-g2b99