From 8cb42211606a33ccb4a6c37978352797284d02ce Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Fri, 19 Dec 2014 14:44:26 -0500 Subject: [PATCH 1/2] fix a couple merlin issues --- Preferences/Merlin Folding.tmPreferences | 2 +- Syntaxes/Merlin.tmLanguage | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Preferences/Merlin Folding.tmPreferences b/Preferences/Merlin Folding.tmPreferences index 108c73b..f188895 100644 --- a/Preferences/Merlin Folding.tmPreferences +++ b/Preferences/Merlin Folding.tmPreferences @@ -11,7 +11,7 @@ foldingStartMarker \b(?i:DUM|DO|IF|MAC|LUP)\b foldingStopMarker - \b(?i:DEND|FIN)\b|<<<|--\^ + \b(?i:DEND|FIN|EOM)\b|<<<|--\^ uuid 9DDC3C1F-C4A9-4888-BFBA-1CFF7448AC47 diff --git a/Syntaxes/Merlin.tmLanguage b/Syntaxes/Merlin.tmLanguage index ae8ae45..47cab55 100644 --- a/Syntaxes/Merlin.tmLanguage +++ b/Syntaxes/Merlin.tmLanguage @@ -6,8 +6,6 @@ S - isDisabled - name Merlin patterns @@ -63,10 +61,8 @@ string.quoted.double - begin - ' - end - ' + match + '.*' name string.quoted.single @@ -361,7 +357,7 @@ match - \b(?i:MAC)\b|<<< + \b(?i:MAC|EOM)\b|<<< name keyword.directive.macro From de38244dc78a132b99f555ce57fbfcfd5573f9b7 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Sun, 11 Jan 2015 19:10:07 -0500 Subject: [PATCH 2/2] merlin - ; doesn't start a comment in a macro parameter --- Syntaxes/Merlin.tmLanguage | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Syntaxes/Merlin.tmLanguage b/Syntaxes/Merlin.tmLanguage index 47cab55..7d08538 100644 --- a/Syntaxes/Merlin.tmLanguage +++ b/Syntaxes/Merlin.tmLanguage @@ -74,13 +74,13 @@ match - ;.* + (?<=[ \t])(;.*) name comment.line match - ^][0-~]*\b + ][0-~]*\b name entity.name.label.variable