[gtksourceview/gtksourceview-4-8] Merge branch 'add-match-case' into 'master'



commit 16e3854ccb0b1ebaefb19521a0ea4c0893b83265
Author: Christian Hergert <christian hergert me>
Date:   Thu May 19 18:57:26 2022 +0000

    Merge branch 'add-match-case' into 'master'
    
    Add match and case keywords to python language file
    
    Closes #267
    
    See merge request GNOME/gtksourceview!260
    
    (cherry picked from commit 6eebe3b93cd368401cf4a6ded6cec00c55182ea1)
    
    04be12a6 Add match and case keywords to python language file

 data/language-specs/python3.lang | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/data/language-specs/python3.lang b/data/language-specs/python3.lang
index 630302c9..be45a059 100644
--- a/data/language-specs/python3.lang
+++ b/data/language-specs/python3.lang
@@ -242,6 +242,8 @@
           <keyword>async</keyword>
           <keyword>await</keyword>
           <keyword>nonlocal</keyword>
+          <keyword>match</keyword>
+          <keyword>case</keyword>
         </context>
 
         <context ref="python:builtin-constants"/>


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