tree-sitter-gnuplot

June 12, 2026 ยท View on GitHub

CI codecov PRs Welcome

A tree-sitter grammar for gnuplot 6.x.

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, designed for accuracy to gnuplot 6 syntax and long-term maintainability.