Skip to content

Commit 2fb6912

Browse files
authored
Merge pull request #34 from davidhcefx/fix-jade-cond
fix(jade): conditional comment range issue
2 parents c31b782 + 148d19a commit 2fb6912

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jade.nanorc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ color ,green "[[:space:]]+$"
3333
# Unbuffered comments
3434
color brightblue "\s+(//-.*)"
3535
# HTML-style conditional comments
36-
color brightmagenta start="<!" end="!>"
37-
color brightmagenta "<!\[endif\]-->"
36+
color brightmagenta start="<!(--)?\[if" end="<!\[endif\](--)?>"
3837
# HTML-style elements
3938
color yellow "<([^!].*)>"
4039
# Pipes

0 commit comments

Comments
 (0)