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

Concealing of links not correct if link is too long #929

Closed
2 tasks done
tilupe opened this issue Jun 5, 2023 · 2 comments
Closed
2 tasks done

Concealing of links not correct if link is too long #929

tilupe opened this issue Jun 5, 2023 · 2 comments
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.

Comments

@tilupe
Copy link

tilupe commented Jun 5, 2023

Prerequisites

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

Neovim Version

0.9.0

Neorg setup

return {
{

"nvim-neorg/neorg",
build = ":Neorg sync-parsers",
opts = {
  load = {
    ["core.defaults"] = {},
    ["core.concealer"] = {},
    ["core.dirman"] = {
      config = {
        workspaces = {
          notes = "~/notes",
        },
        default_workspace = "notes",
      },
    },
    ["core.integrations.telescope"] = {},
    ["core.export.markdown"] = {
      extensions = "md",
    },
    ["core.completion"] = {
      engine = "nvim-cmp",
    },
    ["core.manoeuvre"] = {},
    -- ["core.ui.calendar"] = {},
  },
},
dependencies = {
  "nvim-lua/plenary.nvim",
  "nvim-neorg/neorg-telescope",
},
keys = {
  { "<leader>nl", "<cmd>Telescope neorg insert_file_link<cr>", desc = "Insert file link" },
  { "<leader>nw", "<cmd>Neorg workspace<cr>", desc = "workspace" },
  { "<leader>nn", "<cmd>Neorg keybind<cr>", desc = "New Note" },
  { "<leader>nr", "<cmd>Neorg return<cr>", desc = "Close & return" },
  { "<leader>nt", "<cmd>Telescope neorg<cr>", desc = "Telescope" },
},

},
}

Actual behavior

When a link is longer than the buffer (window) size than the description text will be on the next line

Expected behavior

No matter how long the inserted link is the "description" should always be at the place where the link was inserted

Steps to reproduce

Insert a link with a description in a list for example and make the width of the buffer(window) shorter the link

Potentially conflicting plugins

No response

Other information

No response

Help

None

Implementation help

No response

@tilupe tilupe added the bug Issues related to bugs. Please attach a severity, a priority and category with this label. label Jun 5, 2023
@github-project-automation github-project-automation bot moved this to added-updated-reopened in sorting neorg issue tracker Jun 5, 2023
@champignoom
Copy link
Contributor

Probably wontfix as it's a problem of neovim itself, see https://github.com/nvim-neorg/neorg/wiki/Dependencies#ugly-line-wraps-when-concealing-text.

@vhyrro
Copy link
Member

vhyrro commented Jun 11, 2024

As champignoom said, this is an upstream Neovim issue that unfortunately can't be resolved on our side.

@vhyrro vhyrro closed this as not planned Won't fix, can't repro, duplicate, stale Jun 11, 2024
@github-project-automation github-project-automation bot moved this from added-updated-reopened to done in sorting neorg issue tracker Jun 11, 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