tree-sitter-gnuplot 3.0.0

gnuplot grammar for the tree-sitter parsing library
Documentation
# tree-sitter-gnuplot
[![CI](https://github.com/dpezto/tree-sitter-gnuplot/actions/workflows/ci.yml/badge.svg)](https://github.com/dpezto/tree-sitter-gnuplot/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/dpezto/tree-sitter-gnuplot/branch/main/graph/badge.svg)](https://codecov.io/gh/dpezto/tree-sitter-gnuplot)
[![npm](https://img.shields.io/npm/v/tree-sitter-gnuplot?logo=npm)](https://www.npmjs.com/package/tree-sitter-gnuplot)
[![crates.io](https://img.shields.io/crates/v/tree-sitter-gnuplot?logo=rust)](https://crates.io/crates/tree-sitter-gnuplot)
[![PyPI](https://img.shields.io/pypi/v/tree-sitter-gnuplot?logo=pypi)](https://pypi.org/project/tree-sitter-gnuplot/)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![PRs Welcome][prs-badge]](https://makeapullrequest.com)

A tree-sitter grammar for [gnuplot 6.x](http://gnuplot.info).

Supports `.gnuplot`, `.gp`, `.plt`, `.plot`, `.gnu` files. Built with an external
scanner for command disambiguation, comprehensive syntax highlighting queries, and
92 corpus tests.

This project is the next evolution of [gnuplot.vim](https://github.com/dpezto/gnuplot.vim),
designed for accuracy to gnuplot 6 syntax and long-term maintainability.

## Node and field stability

Node type names and field names are the query API: `highlights.scm`, editor
plugins and language servers match on them, and a change that leaves the schema
valid can still make an existing query match nothing. Such changes are released
as breaking.

Function plots bind their expression to the `function` field of `plot_element`.
Earlier releases bound it to `data`, which is now used only for datafile and
datablock sources, so a query written as `(plot_element data: (function ...))`
must become `(plot_element function: (function ...))`. Both fields already
existed, so `node-types.json` remains backward compatible — only which field the
parser populates changed.

[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPS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