I want to get information about the tree sitter. Among them, I want to get the value of @punctuation.delimiter
. How can I get it?
In the above case, ":":",""."
I want to get the string ":",";",",",""
.
I want to get information about the tree sitter. Among them, I want to get the value of @punctuation.delimiter
. How can I get it?
In the above case, ":":",""."
I want to get the string ":",";",",",""
.
It was made by the following method.
for _, match, _ in query:iter_matches(parent_node, 0, start_row, end_row) do
for id, node in pairs(match) do
if character_type == 'punctuation.delimiter' then
-- Write the process here
end
end
end