update treesitter api usage
This commit is contained in:
parent
20536df38c
commit
21b3e8ccdc
@ -1,5 +1,5 @@
|
||||
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_def value: (preproc_arg) @macro_def)
|
||||
]])
|
||||
|
Loading…
Reference in New Issue
Block a user