Added links

This commit is contained in:
Andrea Dejan Grande 2019-04-28 03:17:55 +02:00
parent 5aaa682af6
commit 944dc422ab
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
syntax "Pug" "\.pug$"
syntax "Jade" "\.jade$"
# Elements
color yellow "^\s*([a-z0-9]+)"
# Main elements
@ -25,3 +25,5 @@ color ,green "[[:space:]]+$"
color yellow,magenta "\|"
# Doctype
color brightblack "^\s*(doctype)(.*)"
# Links
icolor brightgreen "https?:\/\/(www\.)?[a-zA-Z0-9@%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)" "_blank"

View File

@ -25,3 +25,5 @@ color ,green "[[:space:]]+$"
color yellow,magenta "\|"
# Doctype
color brightblack "^\s*(doctype)(.*)"
# Links
icolor brightgreen "https?:\/\/(www\.)?[a-zA-Z0-9@%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)" "_blank"