Skip to content

Commit 148d19a

Browse files
committed
fix(jade): conditional comment range issue
1 parent c31b782 commit 148d19a

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)