2022-07-17 22:17:11 +03:00
|
|
|
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"
|
2024-03-22 19:56:09 +03:00
|
|
|
|
2022-07-17 22:17:11 +03:00
|
|
|
- comment:
|
|
|
|
start: "#"
|
|
|
|
end: "$"
|
|
|
|
rules:
|
|
|
|
- todo: "TODO:?"
|