[gtksourceview: 9/13] scss.lang: Allow interpolations in scss-url context



commit 4f349177f342fe3a78246645f243012c0df3fd91
Author: Jeffery To <jeffery to gmail com>
Date:   Wed Dec 4 05:14:40 2019 +0800

    scss.lang: Allow interpolations in scss-url context
    
    Interpolations are allowed as the parameter for the url() function.

 data/language-specs/scss.lang | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/data/language-specs/scss.lang b/data/language-specs/scss.lang
index 6d100336..76646576 100644
--- a/data/language-specs/scss.lang
+++ b/data/language-specs/scss.lang
@@ -254,6 +254,7 @@
         <context ref="css:embedded-lang-hook"/>
         <!-- only accept multi-line comments because // is part of urls -->
         <context ref="css:comment" original="true"/>
+        <context ref="interpolation"/>
         <context ref="css:escape" ignore-style="true"/>
         <context ref="css:string-value"/>
       </include>


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