Fix guid append

This commit is contained in:
Alex Yatskov 2024-08-05 20:38:42 -07:00
parent 62d698c3ca
commit 8998c7045b

View File

@ -170,7 +170,7 @@ local function guid_append(style)
local append_text_at_pos = function(text, pos)
local line = vim.fn.getline(pos.row)
local prefix = string.sub(line, 0, pos.col)
local suffix = string.sub(line, pos.col)
local suffix = string.sub(line, pos.col + 1)
vim.fn.setline(pos.row, prefix .. text .. suffix)
end