mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-02 23:27:14 -04:00
Replace "constant.string.url" to reduce complexities
This commit is contained in:
+2
-1
@@ -21,7 +21,8 @@ rules:
|
||||
end: "<"
|
||||
rules: []
|
||||
- symbol: "<|>"
|
||||
- constant.string.url: "(ftp(s)?|http(s)?|git|chrome)://[^ ]+"
|
||||
# constant.number is used in place of constant.string.url to reduce complexity
|
||||
- constant.number: "(ftp(s)?|http(s)?|git|chrome)://[^ ]+"
|
||||
- comment: "<!--.+?-->"
|
||||
- preproc: "<!DOCTYPE.+?>"`)
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user