[gtksourceview/gtksourceview-4-8] javascript.lang: allow shebang in javascript



commit 93a3def8b5ed2140b3bfeb8763ae6f0f0de61205
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 5d703f55..ecbfed1a 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]