From 224ead3156ce837fe017c8dee624f87c8500b511 Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Mon, 5 Jun 2023 22:44:11 +0300 Subject: [PATCH] dont use deprecated function --- lua/personal/cmacro-align.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/personal/cmacro-align.lua b/lua/personal/cmacro-align.lua index ddc05df..be2ea43 100644 --- a/lua/personal/cmacro-align.lua +++ b/lua/personal/cmacro-align.lua @@ -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) ]])