Micro Editor Syntax
Micro Editor syntaxes
| Type | object |
|---|---|
| File match |
**/micro/runtime/syntax/*.yaml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/micro-editor-syntax/latest.json |
| Source | https://www.schemastore.org/micro-syntax.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
Properties
filetype
string
A file type https://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#filetype-definition
minLength=1
detect
object
Detection options https://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#detect-definition
2 nested properties
filename
string
minLength=1
header
string
A file header https://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#detect-definition
minLength=1
rules
object[]
uniqueItems=true
Definitions
string-or-region
string | object
rules
object[]