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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't pass extension config correctly #28

Open
seqizz opened this issue Jan 2, 2024 · 3 comments
Open

Can't pass extension config correctly #28

seqizz opened this issue Jan 2, 2024 · 3 comments

Comments

@seqizz
Copy link

seqizz commented Jan 2, 2024

Hi 馃憢

I have following env: VIMWIKI_MARKDOWN_EXTENSIONS={"toc": {"baselevel": 2 }}

But sadly, while it applies [TOC], it does not apply baselevel setting (starts from 1).

Any pointers you could give? Thanks!

@WnP
Copy link
Owner

WnP commented Feb 20, 2024

Hi seqizz,

Sorry for the huge delay, didn't get the notification for this one.

Unfortunately I'm not able to reproduce your issue, when using:

export VIMWIKI_MARKDOWN_EXTENSIONS='{"toc": {"baselevel": 2 }}'

indentation base level change accordingly.

@WnP
Copy link
Owner

WnP commented Feb 20, 2024

Can you output the following commands:

env | grep VIMWIKI_MARKDOWN_EXTENSIONS

and

pip freeze | grep vimwiki-markdown

@seqizz
Copy link
Author

seqizz commented Feb 20, 2024

~> env | grep -i vimwiki
VIMWIKI_MARKDOWN_EXTENSIONS={"toc": {"baselevel": 2 }}

Sadly the pip thing won't work due to my distro being a weirdo (nixos) but I am using the latest .py file on the master branch currently (even validated by downloading and diff'ing them).

Now thinking if neovim is omitting some environment variables for any reason when I run "Vimwiki2*" commands 馃

edit: Hmm nevermind even :echo $VIMWIKI_MARKDOWN_EXTENSIONS shows {"toc": {"baselevel": 2 }} inside neovim

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

No branches or pull requests

2 participants