Skip to content

Commit

Permalink
fix(configs): error calculating length of blobs (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
bekaboo committed Oct 25, 2024
1 parent 9b7e849 commit 42466f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/deadcolumn/configs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ local M = {}
-- Functions to get the line length for different scopes
local scope_fn = {
line = function()
return vim.fn.strdisplaywidth(vim.api.nvim_get_current_line())
return vim.fn.strdisplaywidth(vim.fn.getline('.'))
end,
buffer = function()
local range = 1000
Expand Down

0 comments on commit 42466f3

Please sign in to comment.