diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2026-07-25 10:18:57 +0200 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2026-07-25 10:25:53 +0200 |
| commit | e2ad060286ed8a759f8f35f5def22be93737d801 (patch) | |
| tree | 9d424b458157b7b8e2993155b3cc70c085168a48 | |
| parent | feat(gnuplot)!: update parser and queries (diff) | |
| download | nvim-treesitter-e2ad060286ed8a759f8f35f5def22be93737d801.tar nvim-treesitter-e2ad060286ed8a759f8f35f5def22be93737d801.tar.gz nvim-treesitter-e2ad060286ed8a759f8f35f5def22be93737d801.tar.bz2 nvim-treesitter-e2ad060286ed8a759f8f35f5def22be93737d801.tar.lz nvim-treesitter-e2ad060286ed8a759f8f35f5def22be93737d801.tar.xz nvim-treesitter-e2ad060286ed8a759f8f35f5def22be93737d801.tar.zst nvim-treesitter-e2ad060286ed8a759f8f35f5def22be93737d801.zip | |
feat(bpftrace)!: update parser and queries
Breaking change: replace `(identifier)` by `(wildcard_identifier)` in
some patterns.
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 2 | ||||
| -rw-r--r-- | runtime/queries/bpftrace/highlights.scm | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 38c4cd87d..e8f150036 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -142,7 +142,7 @@ return { }, bpftrace = { install_info = { - revision = '50b27d8b5cae89e77702ab249dcd743a41848e5b', + revision = '11453f5e4be5026b2b18d4b53f893ded972011ce', url = 'https://github.com/sgruszka/tree-sitter-bpftrace', }, maintainers = { '@sgruszka' }, diff --git a/runtime/queries/bpftrace/highlights.scm b/runtime/queries/bpftrace/highlights.scm index 19e568515..49eae9ffd 100644 --- a/runtime/queries/bpftrace/highlights.scm +++ b/runtime/queries/bpftrace/highlights.scm @@ -47,7 +47,7 @@ (probe provider: (uprobe_uretprobe_provider) @type.builtin binary: (file_identifier) @string.special.path - function: (identifier) @property) + function: (wildcard_identifier) @property) ; tracepoint (probe @@ -94,13 +94,13 @@ (probe provider: (ustd_provider) @type.builtin binary: (file_identifier) @string.special.path - namespace: (identifier) @variable - function: (identifier) @property) + namespace: (wildcard_identifier) @variable + function: (wildcard_identifier) @property) (probe provider: (ustd_provider) @type.builtin binary: (file_identifier) @string.special.path - function: (identifier) @property) + function: (wildcard_identifier) @property) ; watchpoint/asyncwatchpoint (probe |
