Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expanding paths for tangle does not work #1600

Closed
2 tasks done
simonhughxyz opened this issue Oct 31, 2024 · 1 comment
Closed
2 tasks done

Expanding paths for tangle does not work #1600

simonhughxyz opened this issue Oct 31, 2024 · 1 comment
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.

Comments

@simonhughxyz
Copy link

simonhughxyz commented Oct 31, 2024

Prerequisites

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

Neovim Version

NVIM v0.10.2 Build type: None LuaJIT 2.1.1725453128 Run "nvim -V1 -v" for more info

Neorg setup

require("neorg").setup({
      load = {
        ["core.defaults"] = {}, -- Loads default behaviour
        ["core.concealer"] = {  -- Adds pretty icons to your documents
          config = {
            foldlevelstart = "0",
            icon_preset = "diamond",
            icons = {
              code_block = {
                width = "content",
                min_width = 85,
                conceal = true,
              },
            },
          },
        },
        ["core.dirman"] = { -- Manages Neorg workspaces
          config = {
            workspaces = {
              documents = "~/Documents",
              notes = "~/Documents/Notes",
              career = "~/Documents/Career",
              profiles = "~/Documents/Profiles",
            },
            default_workspace = "documents",
          },
        },
        ["core.keybinds"] = {
        -- https://github.com/nvim-neorg/neorg/blob/main/lua/neorg/modules/core/keybinds/keybinds.lua
          config = {
            default_keybinds = true,
            neorg_leader = "<Leader><Leader>",
          },
        },
        ["core.completion"] = {
          config = {
            engine = 'nvim-cmp',
            name = "[Norg]",
          }
        },
        ["core.integrations.nvim-cmp"] = {},
        ["core.qol.toc"] = {
          config = {
            close_split_on_jump = true,
            toc_split_placement = "right",
          }
        },
        ["core.tangle"] = {
          config = {
            tangle_on_write = true,
          }
        },
        ["core.export"] = {},
        ["core.export.markdown"] = {
          config = {
            extensions = "all",
          }
        },
        ["core.integrations.telescope"] = {},
        ["core.presenter"] = {
          config = {
            zen_mode = "truezen",
          }
        },
        ["core.journal"] = {
          config = {
            workspace = "journal",
            strategy = "nested",
          }
        },
        ["core.summary"] = {},
        ["core.esupports.metagen"] = {
          config = {
            type = "auto",
            update_date = true,
            author = "Simon H Moore",
          }
        },
        ["core.ui.calendar"] = {},
      }
    })

Actual behavior

Neorg falsely notify's that there is "Nothing to tangle"

Expected behavior

For neorg to tangle with expanding paths such as

#tangle ~/file_in_home
@code
tangle me please
@end

Steps to reproduce

Try to tangle the following

#tangle ~/file_in_home
@code
tangle me please
@end

Potentially conflicting plugins

No response

Other information

Based upon #573 PR, this should already be implemented

Help

None

Implementation help

No response

@simonhughxyz simonhughxyz added the bug Issues related to bugs. Please attach a severity, a priority and category with this label. label Oct 31, 2024
@github-project-automation github-project-automation bot moved this to added-updated-reopened in sorting neorg issue tracker Oct 31, 2024
@benlubas
Copy link
Contributor

dup of #793

@github-project-automation github-project-automation bot moved this from added-updated-reopened to done in sorting neorg issue tracker Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.
Projects
None yet
Development

No branches or pull requests

2 participants