File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818let s: cpo_sav = &cpo
1919set cpo &vim
2020
21+ " eRuby Config {{{1
22+ if exists (' main_syntax' ) && main_syntax == ' eruby'
23+ let b: ruby_no_expensive = 1
24+ endif
25+
2126" Folding Config {{{1
2227if has (" folding" ) && exists (" ruby_fold" )
2328 setlocal foldmethod = syntax
@@ -259,11 +264,6 @@ SynFold '<<' syn region rubyString start=+\%(\%(class\|::\)\_s*\|\%([]}).]\)\s\|
259264SynFold ' <<' syn region rubyString start = + \% (\% (class \| ::\)\_ s* \|\% ([]}).]\)\s\|\w\)\@ <! <<[- ~]' \z([^' ]* \) ' \ze\%(.*<<[-~]\=[' `" ]\=\h\)\@!+hs=s+3 matchgroup=rubyStringDelimiter end=+^\s*\zs\z1$+ contains=rubyHeredocStart keepend
260265SynFold ' <<' syn region rubyString start = + \% (\% (class \| ::\)\_ s* \|\% ([]}).]\)\s\|\w\)\@ <! <<[- ~]`\z ([^`]* \) `\z e\% (.* <<[- ~]\= ['`" ]\=\h\)\@!+hs=s+3 matchgroup=rubyStringDelimiter end=+^\s*\zs\z1$+ contains=rubyHeredocStart,@rubyStringSpecial keepend
261266
262- " eRuby Config {{{1
263- if exists (' main_syntax' ) && main_syntax == ' eruby'
264- let b: ruby_no_expensive = 1
265- endif
266-
267267" Module, Class, Method and Alias Declarations {{{1
268268syn match rubyAliasDeclaration " [^[:space:];#.()]\+ " contained contains =rubySymbol,rubyGlobalVariable,rubyPredefinedVariable nextgroup =rubyAliasDeclaration2 skipwhite
269269syn match rubyAliasDeclaration2 " [^[:space:];#.()]\+ " contained contains =rubySymbol,rubyGlobalVariable,rubyPredefinedVariable
You can’t perform that action at this time.
0 commit comments