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

norg.json has a duplicate key #477

Open
arodland opened this issue Jul 9, 2024 · 1 comment · May be fixed by #533
Open

norg.json has a duplicate key #477

arodland opened this issue Jul 9, 2024 · 1 comment · May be fixed by #533
Labels
enhancement New feature or request In progress

Comments

@arodland
Copy link

arodland commented Jul 9, 2024

The norg snippets file has the key single_footnote twice, which causes vsnip to blow up trying to load the file (because it uses vim's json_decode which handles duplicate keys by returning a completely different structure). Lua stuff I think will parse it but will only see the second instance.

The second single_footnote should probably just have its key changed to ranged_footnote or something.

@OkelleyDevelopment OkelleyDevelopment added the good first issue Good for newcomers label Sep 23, 2024
@OkelleyDevelopment OkelleyDevelopment linked a pull request Dec 2, 2024 that will close this issue
@OkelleyDevelopment OkelleyDevelopment added enhancement New feature or request and removed good first issue Good for newcomers labels Dec 2, 2024
@OkelleyDevelopment
Copy link
Collaborator

Solid idea @arodland, I've raised a PR #533 if you want to give a review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request In progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants