From ca90c0e098f37867efa7b9e8807d79df0862a7f9 Mon Sep 17 00:00:00 2001
From: "Kenneth Benzie (Benie)" <k.benzie83@gmail.com>
Date: Thu, 8 Sep 2016 00:15:49 +0100
Subject: [PATCH] Extend groovy syntax with Jenkins DSL tweeks

---
 after/syntax/groovy.vim | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 after/syntax/groovy.vim

diff --git a/after/syntax/groovy.vim b/after/syntax/groovy.vim
new file mode 100644
index 0000000..8f18d23
--- /dev/null
+++ b/after/syntax/groovy.vim
@@ -0,0 +1,11 @@
+" File: groovy.vim
+" Author: Kenneth Benzie (Benie) <k.benzie83@gmail.com>
+" Description: Extended groovy syntax for Jenkins DSL.
+
+" Highlight shell('') and shell('''''') blocks with the sh filetype.
+syn include @groovyHighlightSh syntax/sh.vim
+syn region groovyHighlightSh matchgroup=groovyString start="shell(\zs'\(''\)\=" end="\(''\)\='\ze)" contains=@groovyHighlightSh
+
+" Highlight batchFile('') and batchFile('''''') blocks with the batch filetype.
+syn include @groovyHighlightBatch syntax/batch.vim
+syn region groovyHighlightBatch matchgroup=groovyString start="batchFile(\zs'\(''\)\=" end="\(''\)\='\ze)" contains=@groovyHighlightBatch