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

zed-mode presentation not working #1582

Open
2 tasks done
madjxatw opened this issue Sep 15, 2024 · 0 comments
Open
2 tasks done

zed-mode presentation not working #1582

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

Comments

@madjxatw
Copy link

Prerequisites

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

Neovim Version

v0.10.1

Neorg setup

{
    "nvim-neorg/neorg",
    dependencies = {
      "nvim-lua/plenary.nvim" ,
      "folke/zen-mode.nvim",
      "nvim-cmp",
    },
    version = "*",
    ft = "norg",
    cmd = "Neorg",
    opts = {
      load = {
        ["core.defaults"] = {},
        ["core.concealer"] = {},
        ["core.completion"] = { config = { engine = "nvim-cmp" } },
        ["core.dirman"] = {
          config = {
            workspaces = {
              notes = "~/Documents/neorg/notes",
            },
            default_workspace = "notes",
          },
        },
        ["core.presenter"] = { config = { zen_mode = "zen-mode" } },
      },
    },
  },

Actual behavior

When first time executing :Neorg presenter start, it just open another buffer named norg/Norg Presenter.norg. After I closed this buffer, any subsequent execution of :Neorg presenter start only gives a warning stating "Presentation already started". Executing :Neorg presenter close seems to do nothing. However, the :ZenMode command works as expected.

Expected behavior

The targeted norg file should show in a float presentation window, and it can be toggled by :Neorg presenter start/close command.

Steps to reproduce

  1. Enter a workspace and chose any norg file to open.
  2. Execute :Neorg presenter start, you should see a new buffer (not presentation window) named Norg Presentation.norg opened.
  3. Executing :bdelete to close this buffer.
  4. Now execute :Neorg presenter start again, you should get the warning message mentioned before.

Potentially conflicting plugins

No response

Other information

No response

Help

None

Implementation help

No response

@madjxatw madjxatw added the bug Issues related to bugs. Please attach a severity, a priority and category with this label. label Sep 15, 2024
@github-project-automation github-project-automation bot moved this to added-updated-reopened in sorting neorg issue tracker Sep 15, 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