(lua) Fix nested functions sometimes not being found

This commit is contained in:
Daniel Mathiot
2021-09-12 17:45:36 +02:00
parent b77ac73661
commit 7b8631697d
3 changed files with 28 additions and 17 deletions

View File

@@ -95,7 +95,7 @@ neogen.generate = function(opts)
end
-- Creates extmark for the end of the content
neogen.utilities.cursor.create(to_place + #content+ 1, 0)
neogen.utilities.cursor.create(to_place + #content + 1, 0)
neogen.utilities.cursor.jump({ first_time = true })
end