Hello, I am trying to create syntax definition for my logger and something go wrong
That’s my yaml:
---
name: Log
scopeName: my_log3.log
fileTypes: [log]
uuid: 8c8714d5-43ef-43d2-abd9-c9088901ddd5
patterns:
- name: line.log
begin: '(^\|]+)'
beginCaptures:
'1': {name: date.log}
'2': {name: variable.log}
end: $
patterns:
- include: $self
- name: other.log
match: .
#- comment: log
# match: (^\|]+)$
# name: constant.language.log.info
#- comment: my date
# match: ^(^\|]+)
# name: constant.language.log.date
...
And the simple log looks like: date_in_integer|value|value|value
Need to color all these parts but I completly dissunderstand sublime-text-unofficial-document … xdefs.html << this wiki