[gtksourceview] javascript.lang: allow shebang in javascript



commit be7c83a902be6d4be3f8787feb4346f796b46127
Author: Christian Hergert <chergert redhat com>
Date:   Thu Dec 30 20:35:14 2021 -0800

    javascript.lang: allow shebang in javascript
    
    This is needed for GJS and other GNOME related JavaScript projects. It can
    be useful for other JavaScript systems programming implementations too.

 data/language-specs/javascript.lang | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/data/language-specs/javascript.lang b/data/language-specs/javascript.lang
index 2b275df3..a3cc2d35 100644
--- a/data/language-specs/javascript.lang
+++ b/data/language-specs/javascript.lang
@@ -1037,6 +1037,7 @@
 
     <context id="js" class="no-spell-check">
       <include>
+        <context ref="def:shebang"/>
         <context ref="embedded-lang-hooks"/>
         <context ref="comments"/>
         <context ref="js-st:directives"/>


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