emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/jade-mode 2b093c23d2 071/128: [#20] add single quote ex. (


From: ELPA Syncer
Subject: [nongnu] elpa/jade-mode 2b093c23d2 071/128: [#20] add single quote ex. (currently incorrect)
Date: Sat, 29 Jan 2022 08:24:48 -0500 (EST)

branch: elpa/jade-mode
commit 2b093c23d2a9e8dff6a5b13f6b79bbefdd009df4
Author: Travis Jefferson <tjefferson@signpost.com>
Commit: Travis Jefferson <tjefferson@signpost.com>

    [#20] add single quote ex. (currently incorrect)
    
        We need to:
            - higlight single-quote strings in JS blocks
            - un-highlight them after pipes (|) or regular tags
---
 example.jade | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/example.jade b/example.jade
index 7ed94916d7..ba438263e6 100644
--- a/example.jade
+++ b/example.jade
@@ -18,6 +18,11 @@ html(lang="en")
           p Get on it!
           form
             input(type: "text", name='user[name]', readonly: true, disabled)
+        div#single-quote.example
+          = 'this single quote should highlight as a string'
+          = 'this one' + "and this should too"
+          span this one shouldn't higlight strings or... .other #things if else
+          | this one shouldn't highlight strings, and the same goes for 
.keywords #ok ?
       #footer
         #copywrite-text= locals
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]