[gtksourceview: 5/6] commonlisp.lang: Add boolean keywords



commit f9b28e62cb641062f403a91e3cc51b7d032bd1ae
Author: Tarn Burton <twburton gmail com>
Date:   Wed Feb 12 08:10:06 2020 -0500

    commonlisp.lang: Add boolean keywords

 data/language-specs/commonlisp.lang | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/data/language-specs/commonlisp.lang b/data/language-specs/commonlisp.lang
index e18719a9..bd31e230 100644
--- a/data/language-specs/commonlisp.lang
+++ b/data/language-specs/commonlisp.lang
@@ -32,6 +32,7 @@
   </metadata>
 
   <styles>
+    <style id="boolean"             name="Boolean value"       map-to="def:boolean"/>
     <style id="builtin"             name="Builtin Symbols"     map-to="def:keyword"/>
     <style id="character"           name="Character"           map-to="def:character"/>
     <style id="comment"             name="Comment"             map-to="def:comment"/>
@@ -444,6 +445,11 @@
       <keyword>with-standard-io-syntax</keyword>
     </context>
 
+    <context id="boolean" style-ref="boolean">
+      <keyword>nil</keyword>
+      <keyword>t</keyword>
+    </context>
+
     <context id="special-variable" style-ref="special">
       <match extended="true">
         \%{token-start}
@@ -492,6 +498,7 @@
       <include>
         <context ref="binary-rational"/>
         <context ref="block-comment"/>
+        <context ref="boolean"/>
         <context ref="builtin"/>
         <context ref="character"/>
         <context ref="constant-variable"/>


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