mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 19:00:27 +01:00
Added links
This commit is contained in:
parent
5aaa682af6
commit
944dc422ab
|
@ -1,4 +1,4 @@
|
||||||
syntax "Pug" "\.pug$"
|
syntax "Jade" "\.jade$"
|
||||||
# Elements
|
# Elements
|
||||||
color yellow "^\s*([a-z0-9]+)"
|
color yellow "^\s*([a-z0-9]+)"
|
||||||
# Main elements
|
# Main elements
|
||||||
|
@ -25,3 +25,5 @@ color ,green "[[:space:]]+$"
|
||||||
color yellow,magenta "\|"
|
color yellow,magenta "\|"
|
||||||
# Doctype
|
# Doctype
|
||||||
color brightblack "^\s*(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"
|
||||||
|
|
|
@ -25,3 +25,5 @@ color ,green "[[:space:]]+$"
|
||||||
color yellow,magenta "\|"
|
color yellow,magenta "\|"
|
||||||
# Doctype
|
# Doctype
|
||||||
color brightblack "^\s*(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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user