mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -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] = {}
|
||||
end
|
||||
|
||||
local pattern, replacement = pred[3], pred[3]
|
||||
local pattern, replacement = pred[3], pred[4]
|
||||
assert(type(pattern) == 'string')
|
||||
assert(type(replacement) == 'string')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user