[gtksourceview] rst.lang: Handle auto enumeration



commit 86e9d4804033a682b918e26fd52d3525b7f84576
Author: Pierre Ossman <ossman cendio se>
Date:   Fri Oct 15 09:59:47 2021 +0200

    rst.lang: Handle auto enumeration

 data/language-specs/rst.lang | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/language-specs/rst.lang b/data/language-specs/rst.lang
index e171102e..16895b38 100644
--- a/data/language-specs/rst.lang
+++ b/data/language-specs/rst.lang
@@ -90,7 +90,7 @@
     </define-regex>
 
     <define-regex id="enumerator-chars" extended="true">
-      ([a-zA-Z]|([0-9]+)|(\%{roman-numerals}))
+      ([#]|[a-zA-Z]|([0-9]+)|(\%{roman-numerals}))
     </define-regex>
 
     <context id="enumerator" style-ref="bullet">


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