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

Link Hopping Is Broken #1467

Open
2 tasks done
holmanb opened this issue Jun 14, 2024 · 0 comments
Open
2 tasks done

Link Hopping Is Broken #1467

holmanb opened this issue Jun 14, 2024 · 0 comments
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.

Comments

@holmanb
Copy link

holmanb commented Jun 14, 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.0 Build type: RelWithDebInfo LuaJIT 2.1.1713484068 Run "nvim -V1 -v" for more info

Neorg setup

Entire config:

local rocks_config = {
    rocks_path = vim.env.HOME .. "/.local/share/nvim/rocks",
}

vim.g.rocks_nvim = rocks_config

local luarocks_path = {
    vim.fs.joinpath(rocks_config.rocks_path, "share", "lua", "5.1", "?.lua"),
    vim.fs.joinpath(rocks_config.rocks_path, "share", "lua", "5.1", "?", "init.lua"),
}
package.path = package.path .. ";" .. table.concat(luarocks_path, ";")

local luarocks_cpath = {
    vim.fs.joinpath(rocks_config.rocks_path, "lib", "lua", "5.1", "?.so"),
    vim.fs.joinpath(rocks_config.rocks_path, "lib64", "lua", "5.1", "?.so"),
}
package.cpath = package.cpath .. ";" .. table.concat(luarocks_cpath, ";")

vim.opt.runtimepath:append(vim.fs.joinpath(rocks_config.rocks_path, "lib", "luarocks", "rocks-5.1", "*", "*"))
require("neorg").setup({
    load = {
        ["core.defaults"] = {},
        ["core.concealer"] = {},
        ["core.dirman"] = {
            config = {
                workspaces = {
                    notes = "~/notes",
                },
                default_workspace = "notes",
            },
        },
    },
})

Actual behavior

Local file-based links get "Link not found - ..." and url-based links have no response.

Expected behavior

Link following appears broken for me. Local file-based links get "Link not found - ..." and url-based links have no response.

Steps to reproduce

To ensure that it's not due to link syntax (same behavior with my own configuration), I use the links embedded in neorg's help docs.

  1. start neovim with above config
  2. :h neorg-links
  3. move cursor down to line with the link to the spec (URL) or local link
  4. <CR>

Potentially conflicting plugins

n/a - reproduces with attached minimal config

Other information

:checkhealth neorg looks fine. I just ran :Neorg sync-parsers. I don't see any tracebacks or errors in neorg's log file, so I'm unsure how to debug.

Help

No

Implementation help

No response

@holmanb holmanb added the bug Issues related to bugs. Please attach a severity, a priority and category with this label. label Jun 14, 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

1 participant