mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
feat(bpftrace): update parser and small highlights improvements
Update parser. Use new builtins from grammar (don't use lua-match).
This commit is contained in:
parent
511e5ccf40
commit
88f1dfc211
2 changed files with 4 additions and 3 deletions
|
|
@ -142,7 +142,7 @@ return {
|
|||
},
|
||||
bpftrace = {
|
||||
install_info = {
|
||||
revision = '99ad82e02067a25b2a717fc006ea74b1604f7115',
|
||||
revision = '0978030fdcdab74d49faaee2a60eb94607a367cc',
|
||||
url = 'https://github.com/sgruszka/tree-sitter-bpftrace',
|
||||
},
|
||||
maintainers = { '@sgruszka' },
|
||||
|
|
|
|||
|
|
@ -18,8 +18,9 @@
|
|||
|
||||
(args_keyword) @variable.builtin
|
||||
|
||||
((identifier) @variable.builtin
|
||||
(#lua-match? @variable.builtin "^arg[0-9]+$"))
|
||||
(argn_identifier) @variable.builtin
|
||||
|
||||
(retval_identifier) @variable.builtin
|
||||
|
||||
(scratch_variable) @variable
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue