From 65384305701e015cf9d56d370cf2b3cd30958009 Mon Sep 17 00:00:00 2001 From: Ole Herman Schumacher Elgesem Date: Fri, 12 Aug 2022 16:41:55 +0200 Subject: [PATCH] cfengine3: Removed rule attempting to highlight variable names This rule is problematic for 2 reasons: * The regex is buggy, it doesn't work for more advanced cases when there are other attributes before slist, or string, or whatever the type is. * In the context of CFEngine policy language, it's just a bit confusing. Yes, they are variable names, but they are also quoted strings, and what we call promisers. It looks better, more consistent and less confusing if they are highlighted in the same way as other strings and promisers. Signed-off-by: Ole Herman Schumacher Elgesem --- lexers/embedded/cfengine3.xml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lexers/embedded/cfengine3.xml b/lexers/embedded/cfengine3.xml index d33054919..8c4c1a8f1 100644 --- a/lexers/embedded/cfengine3.xml +++ b/lexers/embedded/cfengine3.xml @@ -70,18 +70,6 @@ - - - - - - - - - - - -