mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
fix(treesitter): use the correct replacement args for #gsub! directive
This commit is contained in:
@@ -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')
|
||||
|
||||
|
Reference in New Issue
Block a user