[gtksourceview/gtksourceview-4-6] commonlisp.lang: Add package specifier for constant and special variables



commit 7b614d0f4b9de150d5034b097e71723f30b4f026
Author: Tarn Burton <twburton gmail com>
Date:   Tue Feb 11 15:58:58 2020 -0500

    commonlisp.lang: Add package specifier for constant and special variables

 data/language-specs/commonlisp.lang | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/language-specs/commonlisp.lang b/data/language-specs/commonlisp.lang
index d4e0707f..350dac6d 100644
--- a/data/language-specs/commonlisp.lang
+++ b/data/language-specs/commonlisp.lang
@@ -1204,7 +1204,7 @@
     <context id="special-variable" style-ref="special">
       <match extended="true">
         \%{token-start}
-        (\*(\%{token})*?\*)
+        ((\%{namespace}::?)?\*(\%{token})*?\*)
         \%{token-end}
       </match>
     </context>
@@ -1212,7 +1212,7 @@
     <context id="constant-variable" style-ref="constant">
       <match extended="true">
         \%{token-start}
-        (\+(\%{token})*?\+)
+        ((\%{namespace}::?)?\+(\%{token})*?\+)
         \%{token-end}
       </match>
     </context>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]