Skip to content

Commit 9a93764

Browse files
authored
Merge pull request #13 from cjodo/dev
change find current
2 parents 70fa57b + aa915c5 commit 9a93764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/convert/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ M.find_current = function()
4444

4545
local current_line = vim.api.nvim_get_current_line()
4646

47-
local line = current_line:sub(cursor_pos.col, #current_line)
47+
local line = current_line:sub(0, #current_line)
4848

4949
line = string.rep(" ", #current_line - #line) .. line
5050

0 commit comments

Comments
 (0)