2015-02-11 14:27:11 -05:00
|
|
|
" Extends standard help syntax with highlighting of Scala code.
|
|
|
|
"
|
|
|
|
" Place code between !sc! and !/sc! delimiters. These will be hidden if Vim is
|
|
|
|
" built with conceal support.
|
|
|
|
|
|
|
|
unlet! b:current_syntax
|
|
|
|
|
2013-09-12 11:02:41 -04:00
|
|
|
syntax include @ScalaCode syntax/scala.vim
|
2015-02-11 14:27:11 -05:00
|
|
|
|
2013-09-12 11:02:41 -04:00
|
|
|
if has('conceal')
|
|
|
|
syntax region rgnScala matchgroup=Ignore concealends start='!sc!' end='!/sc!' contains=@ScalaCode
|
|
|
|
else
|
|
|
|
syntax region rgnScala matchgroup=Ignore start='!sc!' end='!/sc!' contains=@ScalaCode
|
|
|
|
endif
|