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

Links not rendering as shortened version #1611

Closed
2 tasks done
Jellie06 opened this issue Nov 27, 2024 · 4 comments
Closed
2 tasks done

Links not rendering as shortened version #1611

Jellie06 opened this issue Nov 27, 2024 · 4 comments
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.

Comments

@Jellie06
Copy link

Jellie06 commented Nov 27, 2024

Prerequisites

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

Neovim Version

0.10.2

Neorg setup

-- File: plugins/neorg.lua
return {
  "nvim-neorg/neorg",
  dependencies = { "nvim-treesitter/nvim-treesitter" }, -- Ensure Tree-sitter is installed
  build = function()
    vim.cmd("Neorg sync-parsers") -- Ensure parsers are up-to-date
  end,
  config = function()
    require("neorg").setup({
      load = {
        ["core.defaults"] = {}, -- Load default settings
        ["core.concealer"] = {
          config = {
              icons = {
                  heading = {
                      enabled = true,
                  },
              },
          },
      },      
        ["core.ui"] = {}, -- General UI improvements
        ["core.qol.toc"] = {}, -- Enable Table of Contents module
        ["core.dirman"] = { -- Manage Neorg workspaces
          config = {
            workspaces = {
              my_workspace = "~/OneDrive/Documents/neorg", -- Set your workspace path
              journal = "~/OneDrive/Documents/neorg/Journal", -- Add the journal workspace
            },
          },
        },
        ["core.keybinds"] = {}, -- Enable default keybindings
      },
    })
  end,
}

Actual behavior

Any links, whether that be URLs, files, norg files won't shorten despite giving them names. See below for example

image

Expected behavior

For the link to just show 2024 Journal

image

Steps to reproduce

It just happens every time with all links

Potentially conflicting plugins

No response

Other information

I'm on Windows

Help

None

Implementation help

No response

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

:h conceallevel

@Jellie06
Copy link
Author

I've tried every conceal level with

:set conceallevel=

No change

@benlubas
Copy link
Contributor

benlubas commented Dec 2, 2024

You've set conceallevel=2 and moved your cursor off of the link, and it still doesn't conceal? And you have treesitter installed and configured?

conceal works in the help pages, right?

@Jellie06
Copy link
Author

Jellie06 commented Dec 2, 2024

You've set conceallevel=2 and moved your cursor off of the link, and it still doesn't conceal? And you have treesitter installed and configured?

conceal works in the help pages, right?

Sorry I've just done it again and it's working now. Sorry for the trouble.

@Jellie06 Jellie06 closed this as completed Dec 2, 2024
@github-project-automation github-project-automation bot moved this from added-updated-reopened to done in sorting neorg issue tracker Dec 2, 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

3 participants