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

fix(concealer,indent): "require'neorg'" missing in v:lua call #1010

Merged
merged 1 commit into from
Aug 4, 2023
Merged

fix(concealer,indent): "require'neorg'" missing in v:lua call #1010

merged 1 commit into from
Aug 4, 2023

Conversation

taeruh
Copy link
Contributor

@taeruh taeruh commented Aug 4, 2023

I noticed that the indentation wasn't anymore after 5706f1e. The problem is that the v:lua call for the indentexpr tries to access modules which is not global. It has to be accessed through v:lua.require'neorg'. I grepped for other v:lua calls and found the same problem for the foldtext option.

@vhyrro
Copy link
Member

vhyrro commented Aug 4, 2023

Thank you! :D

@vhyrro vhyrro merged commit 1d3b425 into nvim-neorg:main Aug 4, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants