Files
go-highlite/syntax_files/history.yaml
T
2023-11-01 12:18:12 +00:00

11 lines
266 B
YAML

filetype: history
detect:
filename: "(\\.history)"
rules:
- constant.number: "^\\s+\\d+\\s"
# export HISTTIMEFORMAT="%F %T: " to get the best highlighting
- preproc: "([0-9]{4}\\-[0-9]{2}\\-[0-9]{2}\\s[0-9]{2}:[0-9]{2}:[0-9]{2})"
- type: ":\\s.*$"