File: gnuplot.yaml

package info (click to toggle)
micro 2.0.11-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,448 kB
  • sloc: sh: 232; makefile: 72; xml: 24
file content (15 lines) | stat: -rw-r--r-- 351 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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:?"