mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 22:27:13 +09:00
Merge pull request #2933 from JoeKar/feature/default-syntax
syntax: Provide default.yaml as fallback definition
This commit is contained in:
10
runtime/syntax/default.yaml
Normal file
10
runtime/syntax/default.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
filetype: unknown
|
||||
|
||||
detect:
|
||||
filename: ""
|
||||
|
||||
rules:
|
||||
# Mails
|
||||
- special: "[[:alnum:].%_+-]+@[[:alnum:].-]+"
|
||||
# URLs
|
||||
- identifier: "(https?|ftp|ssh)://\\S*[^])>\\s,.]"
|
||||
Reference in New Issue
Block a user