fork
This commit is contained in:
12
langs/yaml/operator.txt
Normal file
12
langs/yaml/operator.txt
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
}
|
||||
[
|
||||
]
|
||||
,
|
||||
---
|
||||
:
|
||||
<
|
||||
>
|
||||
|
|
||||
.
|
||||
&
|
19
langs/yaml/yaml.txt
Normal file
19
langs/yaml/yaml.txt
Normal file
@ -0,0 +1,19 @@
|
||||
### YAML LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME YAML
|
||||
VERSION 1.8.1
|
||||
ALLOW_MIXED NO
|
||||
|
||||
COMMENT #.*?$
|
||||
QUOTED:IDENTIFIER ("[^"]*")|('[^']*')
|
||||
VALUES:IDENTIFIER \[[^\]]*\]
|
||||
|
||||
DEFAULT (:([^\{\}<>:,\n]*))
|
||||
LIST_KEY:STRING ((\-\s*)?[\w-\\]+(?=\s*:))|(\-\s*(?=\{))
|
||||
TAG %(\w+)
|
||||
ANCHOR:CONSTANT &\w+
|
||||
REF:ENTITY \*\w+
|
||||
OPERATOR (?alt:operator.txt)
|
||||
SYMBOL (?default)
|
Reference in New Issue
Block a user