summaryrefslogtreecommitdiffstats
path: root/after/syntax/help.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2013-09-12 17:02:41 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2013-09-12 17:02:41 +0200
commit0a4fcd12b6227ae9975d64353025e55e2e0caddf (patch)
treee7fd30c6aab1ecb25f0867acb43e3a403c5f4878 /after/syntax/help.vim
parent49b050f04240628288ee09b453280c522507477f (diff)
downloadvim-polyglot-0a4fcd12b6227ae9975d64353025e55e2e0caddf.tar.gz
vim-polyglot-0a4fcd12b6227ae9975d64353025e55e2e0caddf.zip
Add scala and sbt support
Diffstat (limited to 'after/syntax/help.vim')
-rw-r--r--after/syntax/help.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/after/syntax/help.vim b/after/syntax/help.vim
new file mode 100644
index 00000000..b352a1e6
--- /dev/null
+++ b/after/syntax/help.vim
@@ -0,0 +1,8 @@
+let b:current_syntax = ''
+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
+ syntax region rgnScala matchgroup=Ignore start='!sc!' end='!/sc!' contains=@ScalaCode
+endif