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



commit eab6f7d31f6447726d3a87f01d599e8f18d7b068
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]