From ba1a737a06c10733f21da509c4baa4d7a2182ded Mon Sep 17 00:00:00 2001
From: friedc <52925889+friedc@users.noreply.github.com>
Date: Tue, 30 Nov 2021 19:31:03 +0100
Subject: [PATCH] Add inline exclamation mark comments to fortran.tmbundle
---
Syntaxes/Fortran - Punchcard.tmLanguage | 40 +++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/Syntaxes/Fortran - Punchcard.tmLanguage b/Syntaxes/Fortran - Punchcard.tmLanguage
index 4354ee0..0297676 100644
--- a/Syntaxes/Fortran - Punchcard.tmLanguage
+++ b/Syntaxes/Fortran - Punchcard.tmLanguage
@@ -576,6 +576,46 @@
+
+ begin
+ (^[ \t]+)?(?=!)
+ beginCaptures
+
+ 1
+
+ name
+ punctuation.whitespace.comment.leading.fortran
+
+
+ end
+ (?!\G)
+ patterns
+
+
+ begin
+ !
+ beginCaptures
+
+ 0
+
+ name
+ punctuation.definition.comment.fortran
+
+
+ end
+ \n
+ name
+ comment.line.exclamation.fortran.modern
+ patterns
+
+
+ match
+ \\\s*\n
+
+
+
+
+
repository