neorg icon indicating copy to clipboard operation
neorg copied to clipboard

Todo list parents not updating

Open TheNoeTrevino opened this issue 1 year ago • 2 comments

Prerequisites

  • [X] I am using the latest stable release of Neovim
  • [X] I am using the latest version of the plugin

Neovim Version

nvim --version NVIM v0.10.1 Build type: Release LuaJIT 2.1.1724232689

Neorg setup

return {
  "nvim-neorg/neorg",
  lazy = false,
  version = "*",
  config = function()
    require("neorg").setup({
      dependencies = { { "nvim-lua/plenary.nvim" }, { "nvim-neorg/neorg-telescope" } },
      load = {
        ["core.defaults"] = {},
        ["core.concealer"] = {},
        ["core.dirman"] = {
          config = {
            workspaces = {
              school = "~/.neorg/school",
              study = "~/.neorg/study",
            },
            default_workspace = "study",
          },
        },
        ["core.completion"] = {
          config = {
            engine = "nvim-cmp",
          },
        },
        ["core.integrations.nvim-cmp"] = {},
        ["core.integrations.telescope"] = {
          config = {
            insert_file_link = {
              show_title_preview = true,
            },
          },
        },
      },
    })
    vim.wo.foldlevel = 99
    vim.wo.conceallevel = 2
    local wk = require("which-key")

    wk.add({
      { "<leader>sn", "<Plug>(neorg.telescope.find_norg_files)", desc = "Search Notes", mode = "n" },
      { "<localleader>if", "<Plug>(neorg.telescope.insert_file_link)", desc = "[F]ile link", mode = "n" },
      { "<localleader>if", "<Plug>(neorg.telescope.insert_file_link)", desc = "[F]ile link", mode = "n" },
      { "<leader>n", group = "[N]otes & [Notifs]   " },
      { "<localleader>l", group = "[L]ists  " },
      { "<localleader>c", group = "[C]ode Block  " },
      { "<localleader>i", group = "[I]nsert  " },
      { "<localleader>n", group = "[N]ew Note  " },
      { "<localleader>t", group = "[T]ypes  " },
    })
  end,
}

Actual behavior

Screenshot 2024-08-27 at 12 40 40 PM Screenshot 2024-08-27 at 12 39 07 PM

Here is the current behavior. For some reason the parent todo lists are not updating like they do in the youtube videos I have seen. I have been trouble shooting for hours! I am not sure what to do since I am new at this plugin, and the 'progress' is updating accordingly.

Note: This works the other way around. If i set the parent as pending, every child element gets set as pending as well.

Expected behavior

The parent should update accordingly

Steps to reproduce

copy and paste code, but not sure that will work from what I have seen online. I cant find anyone else with my issue

Potentially conflicting plugins

No response

Other information

I updated my parsers

Help

No

Implementation help

No response

TheNoeTrevino avatar Aug 27 '24 18:08 TheNoeTrevino

I stumbled on the same issue.

Tantol avatar Oct 10 '24 10:10 Tantol

I'm getting the exact same behavior.

nvim --version NVIM v0.10.1 Build type: Release LuaJIT 2.1.1713773202

require("neorg").setup({
  load = {
    ["core.defaults"] = {},
    ["core.concealer"] = {},
    ["core.keybinds"] = {},
    ["core.dirman"] = {
      config = {
        workspaces = {
          main = "~/neorg",           -- Format: <name_of_workspace> = <path_to_workspace_root>
        },
        default_workspace = "main",
      }
    }
  }
})

lauranaujokat avatar Oct 13 '24 01:10 lauranaujokat

Hi, A newbie here! I am also facing this issue. I checked through the wiki to find this I am guessing the false there is the default value perhaps. But changing it to true was still not working for some reason.

Here is the relevant config

require('neorg').setup {
      load = {
        ['core.defaults'] = {
          config = {
            disable = {
              'core.qol.todo_items',
            },
          },
        },
        ['core.qol.todo_items'] = {
          { config = { create_todo_parents = true } },
        },
        ['core.concealer'] = {},
        ['core.dirman'] = {
          ...
        },
      },
    }

if someone has found a solution to this, can you please help me out? Thanks :)

LogicKahanHai avatar Sep 09 '25 08:09 LogicKahanHai