aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2026-07-23 22:01:16 +0200
committerChristian Clason <ch.clason+github@icloud.com>2026-07-23 22:05:57 +0200
commitbd41519ff7901da11ba6e1c8f419f17f2d94305a (patch)
tree88719c34adb303691c6df7c2d07445f2ff3c7913
parentfeat(diff): update parser and queries (diff)
downloadnvim-treesitter-bd41519ff7901da11ba6e1c8f419f17f2d94305a.tar
nvim-treesitter-bd41519ff7901da11ba6e1c8f419f17f2d94305a.tar.gz
nvim-treesitter-bd41519ff7901da11ba6e1c8f419f17f2d94305a.tar.bz2
nvim-treesitter-bd41519ff7901da11ba6e1c8f419f17f2d94305a.tar.lz
nvim-treesitter-bd41519ff7901da11ba6e1c8f419f17f2d94305a.tar.xz
nvim-treesitter-bd41519ff7901da11ba6e1c8f419f17f2d94305a.tar.zst
nvim-treesitter-bd41519ff7901da11ba6e1c8f419f17f2d94305a.zip
feat(gnuplot)!: update parser and queries
-rw-r--r--lua/nvim-treesitter/parsers.lua2
-rw-r--r--runtime/queries/gnuplot/highlights.scm44
2 files changed, 1 insertions, 45 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua
index b0103d3a1..5913cbac7 100644
--- a/lua/nvim-treesitter/parsers.lua
+++ b/lua/nvim-treesitter/parsers.lua
@@ -752,7 +752,7 @@ return {
},
gnuplot = {
install_info = {
- revision = '20a98295a52caa5f474839838a800d250e8fe1f4',
+ revision = 'c26c387b7c0db7c21a7114757735b865503b62c9',
url = 'https://github.com/dpezto/tree-sitter-gnuplot',
},
maintainers = { '@dpezto' },
diff --git a/runtime/queries/gnuplot/highlights.scm b/runtime/queries/gnuplot/highlights.scm
index 1764ab085..989c0b504 100644
--- a/runtime/queries/gnuplot/highlights.scm
+++ b/runtime/queries/gnuplot/highlights.scm
@@ -67,7 +67,6 @@
"font"
"filled"
"nofilled"
- "parallel"
"coord"
] @keyword.directive
@@ -110,20 +109,10 @@
; Option keywords
[
; coordinate systems / axes
- "unit"
"units_opt"
"axes_opts"
(columnheader)
- ; time units (set xdata time / timefmt)
- "seconds"
- "minutes"
- "hours"
- "days"
- "weeks"
- "months"
- "years"
; smooth subtypes
- "kdensity"
"closed"
"between"
"above"
@@ -163,7 +152,6 @@
"origin"
"dx"
"dy"
- "width"
"level"
"matrix"
"nonuniform"
@@ -208,17 +196,13 @@
"angle"
"length"
"head"
- "inout"
; offset / scale
"offset"
- "nooffset"
"scale"
; contour / palette / axis
"range"
"missing"
"interpolate"
- "autofreq"
- "autojustify"
; rotation
"rotate"
; border / extend / range modifiers
@@ -231,17 +215,12 @@
"s"
; data / fit extras
"variables"
- "logfile"
- "nologfile"
"datablocks"
"commentschars"
"functions"
- ; axes aliases / coordinate planes / walls
- "version"
; colorspec
"rgbcolor"
; set fit
- "maxiter"
"default"
; set view
"map"
@@ -253,12 +232,7 @@
"specular"
"spec2"
; smooth / dgrid3d subtypes
- "splines"
; tics axes / modifiers
- "add"
- ; text / font / encoding
- "fontscale"
- "utf8"
; fill / size style
"empty"
; layout / spacing / multiplot
@@ -276,9 +250,6 @@
; paxis label keyword (key("label",3) with default aka="label")
; watchpoint style subcommand (key("labels",-1) covers singular "label" too)
"label"
- ; polar grid axis ranges
- "theta"
- "r"
; ellipses style
"units"
; stats output prefix
@@ -289,8 +260,6 @@
"margins"
; datafile lc/fc palette shorthand
"palette"
- ; set fit quiet / results / verbose / brief
- "fit_out"
] @variable.member
(columnheader) @variable.member
@@ -313,23 +282,10 @@
"units_opt"
; fill / line style modes
"solid"
- "dashed"
- ; page orientation
- "landscape"
- "portrait"
; terminal options
"animate"
"input"
- "colortext"
- "blacktext"
; point type names (ps/tikz terminals)
- "texpoints"
- "normalpoints"
- "mpoints"
- "smallpoints"
- "tinypoints"
- "pspoints"
- "nopspoints"
"st_opt"
"plt_st"
] @attribute