diff options
| author | Adam Stankiewicz <sheerun@sher.pl> | 2015-02-11 11:27:11 -0800 |
|---|---|---|
| committer | Adam Stankiewicz <sheerun@sher.pl> | 2015-02-11 11:27:11 -0800 |
| commit | 6cd2d5417d728ea96c5c52b34629c944a89eec60 (patch) | |
| tree | f6d49573e7a22b1ede56055d3952707eab085c18 /after/syntax | |
| parent | b7a30b1f1a963902d9743ae229a1f9d18b887e17 (diff) | |
| download | vim-polyglot-6cd2d5417d728ea96c5c52b34629c944a89eec60.tar.gz vim-polyglot-6cd2d5417d728ea96c5c52b34629c944a89eec60.zip | |
Updatev1.11.4
Diffstat (limited to 'after/syntax')
| -rw-r--r-- | after/syntax/help.vim | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/after/syntax/help.vim b/after/syntax/help.vim index b352a1e6..e3232128 100644 --- a/after/syntax/help.vim +++ b/after/syntax/help.vim @@ -1,6 +1,12 @@ -let b:current_syntax = '' -unlet b:current_syntax +" 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 + syntax include @ScalaCode syntax/scala.vim + if has('conceal') syntax region rgnScala matchgroup=Ignore concealends start='!sc!' end='!/sc!' contains=@ScalaCode else |
