Browse files

Fix syntax highlighting in help files.

Commit 844ce86 accidentally disabled Scala syntax highlighting
in help files if you are using a version of Vim that was
compiled without the "conceal" feature.

This patch preserves the part of 844ce86 that avoids an error
message, but also allows syntax highlighting to work.
  • Loading branch information...
1 parent e78d6eb commit b738d97b421fcb9be59501343b620c6381efe871 @mmorearty mmorearty committed Dec 5, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 after/syntax/help.vim
@@ -3,4 +3,6 @@ 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
+ syntax region rgnScala matchgroup=Ignore start='!sc!' end='!/sc!' contains=@ScalaCode

0 comments on commit b738d97

Please sign in to comment.