We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
NVIM v0.9.4 Build type: Release LuaJIT 2.1.1693350652
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: " /nix/store/xnfdsm9dgfng2spl17m7b7wgfc0yyaa4-neovim-unwrapped-0.9.4/share/nvim "
{ load = { ["core.defaults"] = {}, } }
:Neorg update-metadata doesn't work when there's a code cell in the file
:Neorg update-metadata
it should work
Open a .norg file :Neorg inject-metadata add a code block:
:Neorg inject-metadata
@code python print('hi') # need to load the python TS parser @end
none
This is the issue:
neorg/lua/neorg/modules/core/esupports/metagen/module.lua
Lines 282 to 284 in baaf13a
We're early returning if the first lang isn't correct. But we should probably check all of them.
Yes
I'm fairly sure I know what's going on here. But I'll update this issue if I get smacked by reality.
The text was updated successfully, but these errors were encountered:
update-metadata
fix: update-metadata would fail to work with several parse trees in…
5a44d3f
… the document (#1234) fixes #1233
c2d0301
… the document (nvim-neorg#1234) fixes nvim-neorg#1233
9c6fde3
Successfully merging a pull request may close this issue.
Prerequisites
Neovim Version
NVIM v0.9.4 Build type: Release
LuaJIT 2.1.1693350652
fall-back for $VIM: " /nix/store/xnfdsm9dgfng2spl17m7b7wgfc0yyaa4-neovim-unwrapped-0.9.4/share/nvim "
Neorg setup
Actual behavior
:Neorg update-metadata
doesn't work when there's a code cell in the fileExpected behavior
it should work
Steps to reproduce
Open a .norg file
:Neorg inject-metadata
add a code block:
Potentially conflicting plugins
none
Other information
This is the issue:
neorg/lua/neorg/modules/core/esupports/metagen/module.lua
Lines 282 to 284 in baaf13a
We're early returning if the first lang isn't correct. But we should probably check all of them.
Help
Yes
Implementation help
I'm fairly sure I know what's going on here. But I'll update this issue if I get smacked by reality.
The text was updated successfully, but these errors were encountered: