mirror of
https://github.com/zyedidia/micro.git
synced 2024-10-27 12:37:38 +03:00
fc21fc9816
* gnuplot syntax support * Update gnuplot.yaml * Add files via upload * Update gnuplot.yaml
16 lines
351 B
YAML
16 lines
351 B
YAML
filetype: gnuplot
|
|
|
|
detect:
|
|
filename: "\\.(gnu|gpi|plt|gp)$"
|
|
|
|
rules:
|
|
- statement: "\\b(set|unset|plot|splot|replot|if|else|do|for|while|fit)\\b"
|
|
- symbol.operator: "[-+/*=<>?:!~%&|^$]"
|
|
- constant.number: "\\b([0-9]+|0x[0-9a-fA-F]*)\\b"
|
|
|
|
- comment:
|
|
start: "#"
|
|
end: "$"
|
|
rules:
|
|
- todo: "TODO:?"
|