dont use deprecated function
This commit is contained in:
parent
4cc65a0302
commit
224ead3156
@ -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)
|
||||||
]])
|
]])
|
||||||
|
Loading…
Reference in New Issue
Block a user