fix: Offset cursor by 0

This commit is contained in:
danymat
2022-01-23 13:14:48 +01:00
parent 6e48331897
commit 7df8934d6c

View File

@@ -124,7 +124,7 @@ neogen.generate = function(opts)
-- Create extmark to jump back to current location
local pos = vim.api.nvim_win_get_cursor(0)
neogen.utilities.cursor.create(pos[1], pos[2] + 2)
neogen.utilities.cursor.create(pos[1], pos[2] + 1)
-- Creates extmark for the end of the content
neogen.utilities.cursor.create(to_place + #content + 1, 0)