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

File linkables do not open ("Link not found") #688

Closed
2 tasks done
svenXY opened this issue Dec 9, 2022 · 1 comment
Closed
2 tasks done

File linkables do not open ("Link not found") #688

svenXY opened this issue Dec 9, 2022 · 1 comment
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.

Comments

@svenXY
Copy link

svenXY commented Dec 9, 2022

Prerequisites

  • I am using either 0.7 stable with the 0.0.12 tag or the latest compiled Neovim version
  • I am using the latest version of the plugin

Neovim Version

NVIM v0.9.0-dev-1583+gf1b88ced0-dirty

Neorg setup

require('neorg').setup {
    load = {
        ["core.defaults"] = {},
        --[[ ["core.keybinds"] = {}, ]]
        ["core.norg.concealer"] = {}, -- Allows for use of icons
        ["core.norg.dirman"] = { -- Manage your directories with Neorg
            config = {
                workspaces = {
                    private = "~/neorg/private",
                    wac = "~/neorg/dm/wac",
                },
                autodetect = true,
                autochdir = true,
            }
        },
        ["core.norg.completion"] = {
            config = {
                engine = "nvim-cmp"
            }
        }
    }
}

Actual behavior

- [test]{:testme:}in index.norg should - to my understanding - open the file testme.norg in the same directory, but pressing <CR> opens the "Link not found" dialog instead (where any attempt at pressing 'f' to fix it fails with another error, but that's a different thing)

Links within the same file and URLs work fine, though [filesystem]{/ /Users/me/a_file.txt} also doesn't (Link not found...)

summary:

* level1
  - [test]{:testme:}                                 # does not work while ./testme.norg exists
  - [internal]{# level1}                            # works
  - [external_file]{/ /Users/me/bla.lua} # does not work
  - [github]{https://www.web.de}         # works

Expected behavior

it should open the file testme.norg as well es the non-norg file

Steps to reproduce

see neorg file content above

Potentially conflicting plugins

No response

Other information

No response

Help

No

Implementation help

No response

@svenXY svenXY added the bug Issues related to bugs. Please attach a severity, a priority and category with this label. label Dec 9, 2022
@svenXY svenXY changed the title linked file items not found File linkables do not open (items not found) Dec 9, 2022
@svenXY svenXY changed the title File linkables do not open (items not found) File linkables do not open ("Link not found") Dec 9, 2022
@vhyrro
Copy link
Member

vhyrro commented Apr 29, 2023

Hey, this should now be fixed! Sorry for taking a while, a lot of issues seemed to have gone under the radar.

If there are any further bugs related to this then feel free to reopen!

@vhyrro vhyrro closed this as completed Apr 29, 2023
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