adding vim
This commit is contained in:
parent
1b1e9fb734
commit
357b651f15
24 changed files with 14313 additions and 0 deletions
25
.vim/syntax/rhtml.vim
Normal file
25
.vim/syntax/rhtml.vim
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
" HTML with embedded Ruby
|
||||
" Language: HTML + Ruby
|
||||
" Maintainer: Tobias DiPasquale <anany / ece.villanova.edu>
|
||||
" Last Modified: 2002 Mar 07
|
||||
" Location: http://cbcg.net/rhtml.vim
|
||||
|
||||
" for portability
|
||||
if version < 600
|
||||
syntax clear
|
||||
elseif exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
" load all of the HTML info
|
||||
source $VIMRUNTIME/syntax/html.vim
|
||||
unlet b:current_syntax
|
||||
|
||||
" load all of the ruby info into @Ruby
|
||||
syntax include @Ruby $VIMRUNTIME/syntax/ruby.vim
|
||||
syntax region rhtmlRuby
|
||||
\ start=/<%/
|
||||
\ end=/%>/
|
||||
\ contains=@Ruby, rhtmlRuby
|
||||
|
||||
let b:current_syntax = "rhtml"
|
||||
Loading…
Add table
Add a link
Reference in a new issue