branch: elpa/jade-mode
commit 2b093c23d2a9e8dff6a5b13f6b79bbefdd009df4
Author: Travis Jefferson <[email protected]>
Commit: Travis Jefferson <[email protected]>
[#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