Fix #480
This commit is contained in:
@@ -73,7 +73,7 @@ end
|
|||||||
|
|
||||||
api.get_cursor_before_line = function()
|
api.get_cursor_before_line = function()
|
||||||
local cursor = api.get_cursor()
|
local cursor = api.get_cursor()
|
||||||
return string.sub(api.get_current_line(), 1, cursor[2] + 1)
|
return string.sub(api.get_current_line(), 1, cursor[2])
|
||||||
end
|
end
|
||||||
|
|
||||||
return api
|
return api
|
||||||
|
|||||||
Reference in New Issue
Block a user