-
-
Notifications
You must be signed in to change notification settings - Fork 167
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When using timestamp modifiers like -1d or -2d in DEADLINE entries, the warning information does not appear in the agenda unless the corresponding file is opened at least once and the agenda is manually refreshed.
checkhealth
orgmode: ✅
Orgmode ~
- ✅ OK Treesitter grammar installed (version 2.0.0)
- ✅ OK Setup called
- ✅ OK
org_agenda_files
configured - ✅ OK
org_default_notes_file
configured - ✅ OK
shellslash
is set
Steps to reproduce
- Create a task with a deadline warning:
* TODO test
DEADLINE: <2030-01-01 Tue -20y>
- Restart Neovim and open the agenda without opening the file -> warning information does not appear
- Open the file, then refresh the agenda (
r
). -> warning now appears
Expected behavior
Agenda should automatically include deadline entires with their warnings
Emacs functionality
No response
Minimal init.lua
vim.opt.shellslash = true
vim.cmd("language en_US.utf8")
local tmp_dir = vim.env.TMPDIR or vim.env.TMP or vim.env.TEMP or '/tmp'
local nvim_root = tmp_dir .. '/nvim_orgmode'
local lazy_root = nvim_root .. '/lazy'
local lazypath = lazy_root .. '/lazy.nvim'
for _, name in ipairs({ 'config', 'data', 'state', 'cache' }) do
vim.env[('XDG_%s_HOME'):format(name:upper())] = nvim_root .. '/' .. name
end
-- Install lazy.nvim if not already installed
if not vim.uv.fs_stat(lazypath) then
vim.fn.system({
'git',
'clone',
'--filter=blob:none',
'https://github.com/folke/lazy.nvim.git',
'--branch=stable', -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require('lazy').setup({
{
'nvim-orgmode/orgmode',
event = 'VeryLazy',
ft = { 'org' },
config = function()
require('orgmode').setup({
org_agenda_files = '~/orgfiles/**/*',
org_default_notes_file = '~/orgfiles/refile.org',
})
end,
},
}, {
root = lazy_root,
lockfile = nvim_root .. '/lazy.json',
install = {
missing = false,
},
})
require('lazy').sync({
wait = true,
show = false,
})
Screenshots and recordings
No response
nvim-orgmode version
OS / Distro
Windows 10
Neovim version/commit
0.11.4
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working