From a8141be83336227b40f38b98df1736c16c2cab53 Mon Sep 17 00:00:00 2001
From: dsilakov <dsilakov@gmail.com>
Date: Thu, 25 May 2023 15:09:20 +0300
Subject: [PATCH] Add syntax highlighting for Jenkinsfiles
Jenkinsfiles follow Groovy syntax, treat them accordingly
---
misc/syntax/Syntax.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misc/syntax/Syntax.in b/misc/syntax/Syntax.in
index 7ab53cdfc6..95bf6bdadb 100644
a
|
b
|
include php.syntax |
150 | 150 | file ..\*\\.ij[xs]$ J\sFile |
151 | 151 | include j.syntax |
152 | 152 | |
153 | | file ..\*\\.(?i:java?|groovy)$ Java\sProgram |
| 153 | file ..\*\\.(?i:java?|groovy|Jenkinsfile)$ Java\sProgram |
154 | 154 | include java.syntax |
155 | 155 | |
156 | 156 | file ..\*\\.(properties|config)$ Java\sFile |