1
0

update treesitter api usage

This commit is contained in:
Rokas Puzonas 2023-08-08 10:47:45 +03:00
parent 20536df38c
commit 21b3e8ccdc

View File

@ -1,5 +1,5 @@
local ts = vim.treesitter local ts = vim.treesitter
local query = ts.parse_query("c", [[ local query = ts.query.parse("c", [[
(preproc_function_def value: (preproc_arg) @macro_def) (preproc_function_def value: (preproc_arg) @macro_def)
(preproc_def value: (preproc_arg) @macro_def) (preproc_def value: (preproc_arg) @macro_def)
]]) ]])