[gtksourceview: 1/2] latex.lang: include gather and multline to have highlighting



commit d9675aeb4ce3b5ce7d6c8032819359bd044ec91b
Author: Vishwak Srinivasan <vishwaks cs cmu edu>
Date:   Thu Apr 2 18:40:19 2020 +0000

    latex.lang: include gather and multline to have highlighting
    
    `gather` and `multline` environments did not have any highlighting
    like the `equation` environment, this patch includes this

 data/language-specs/latex.lang | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/language-specs/latex.lang b/data/language-specs/latex.lang
index 6e622533..c91ea124 100644
--- a/data/language-specs/latex.lang
+++ b/data/language-specs/latex.lang
@@ -597,7 +597,7 @@
     </context>
 
     <context id="math-env" style-ref="math" style-inside="true" class="no-spell-check">
-      <start>(\\begin)\{(math|displaymath|equation\*?|align\*?|eqnarray\*?)\}</start>
+      <start>(\\begin)\{(math|displaymath|equation\*?|align\*?|eqnarray\*?|multline\*?|gather\*?)\}</start>
       <end>(\\end)\{\%{2@start}\}</end>
       <include>
         <context sub-pattern="1" where="start" style-ref="common-commands"/>


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