We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b92e84 commit e0ba9dcCopy full SHA for e0ba9dc
lua/orgmode/agenda/init.lua
@@ -57,7 +57,7 @@ function Agenda:render()
57
for i, view in ipairs(self.views) do
58
view:render(bufnr, line)
59
if #self.views > 1 and i < #self.views then
60
- colors.add_hr(bufnr, vim.fn.line('$'), config.org_agenda_block_separator)
+ colors.add_hr(bufnr, vim.api.nvim_buf_line_count(bufnr), config.org_agenda_block_separator)
61
end
62
63
vim.bo[bufnr].modifiable = false
0 commit comments