mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 05:05:00 -07:00
fix(treesitter): Use the correct replacement args for #gsub! directive (#23015)
fix(treesitter): use the correct replacement args for #gsub! directive
This commit is contained in:
parent
7ffe450173
commit
ccc0980f86
@ -458,7 +458,7 @@ local directive_handlers = {
|
|||||||
metadata[id] = {}
|
metadata[id] = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
local pattern, replacement = pred[3], pred[3]
|
local pattern, replacement = pred[3], pred[4]
|
||||||
assert(type(pattern) == 'string')
|
assert(type(pattern) == 'string')
|
||||||
assert(type(replacement) == 'string')
|
assert(type(replacement) == 'string')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user