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

error executing vim.schedule on Neorg export #1277

Closed
2 tasks done
777uliahshafar opened this issue Jan 17, 2024 · 3 comments · Fixed by #1280
Closed
2 tasks done

error executing vim.schedule on Neorg export #1277

777uliahshafar opened this issue Jan 17, 2024 · 3 comments · Fixed by #1280
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.

Comments

@777uliahshafar
Copy link

777uliahshafar commented Jan 17, 2024

Prerequisites

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

Neovim Version

nvim v0.9.5

Neorg setup

require("neorg").setup {
load = {
["core.defaults"] = {
config = {
disable = {
"core.autocommands",
"core.itero",
},
},
}, -- Loads default behaviour
["core.concealer"] = {
config = {
icons = {},
},
},
["core.qol.todo_items"] = {
config = {},
},
["core.dirman"] = { -- Manages Neorg workspaces
config = {
workspaces = {
main = "~/notes/main",
},
default_workspace = "main",
},
},
["core.highlights"] = {
config = {
highlights = {
anchors = {
declaration = "+Underlined",
},
headings = {},
links = {},
todo_items = {},
},
},
},
["core.integrations.telescope"] = {},
["core.integrations.treesitter"] = {},
["core.integrations.nvim-cmp"] = {},
["core.completion"] = {
config = {
engine = "nvim-cmp",
},
},
["core.summary"] = {},
["core.export"] = {},
["core.esupports.metagen"] = {
config = {
tab = " ",
template = {more ...},
},
},
["core.keybinds"] = {
config = {
hook = function(keybinds)
keybinds.remap_event("norg", "n", "", "core.integrations.treesitter.next.heading")
more..
end,
},
},
},
}

Actual behavior

Hello, I hope I find you well everybody. I want to export my neorg to markdown, but the error shows.

norg
norg2

Expected behavior

Export my norg notes.

Steps to reproduce

  1. run command Neorg export to-file ~/out.md (result first image)
    1.1 run command Neorg export to-file out.md (result second image)
  2. error shows.

I guess that it would be solve if I use Neovim nightly version like module.calendar. However, I also find trouble on install Neovim nightly through scoop in Windows. Any solution? thank you.

Potentially conflicting plugins

No response

Other information

No response

Help

No

Implementation help

No response

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

pysan3 commented Jan 18, 2024

This is not a fix but you've got other methods to export, just until nvim v0.10 gets to stable.

https://github.com/pysan3/Norg-Tutorial/blob/main/norg_tutorial.md#export--import

@ALVAROPING1
Copy link
Contributor

ALVAROPING1 commented Jan 18, 2024

can you post the file you are trying to export? I can see where the export is failing, but i need a test case to figure out why it can reach that point and test fixes (manually copying it from the image doesn't seem to trigger the issue, so i guess there is concealed formatting)

Edit: nevermore, figured out the issue

@777uliahshafar
Copy link
Author

Awesome, after removing metadata or parameter, I have successfully exported it. Thank for your info. I'll close this issue.

@github-project-automation github-project-automation bot moved this from added-updated-reopened to done in sorting neorg issue tracker Jan 22, 2024
gruejay pushed a commit to gruejay/neorg that referenced this issue Jan 31, 2024
benlubas pushed a commit to benlubas/neorg that referenced this issue Feb 6, 2024
sahinf pushed a commit to sahinf/neorg that referenced this issue May 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

Successfully merging a pull request may close this issue.

3 participants