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

Bring scripts and autocomplete data into main repository #6

Closed
wants to merge 2 commits into from

Conversation

KaliumPuceon
Copy link
Collaborator

@KaliumPuceon KaliumPuceon commented Nov 6, 2023

There's not much to be done to incorporate these completions, so rather than trying to move my function in and remove all the fuzzy matching I'm just going to bring my parsing scripts across so you can use them and so I can synchronize my repo and make pull requests directly rather than through mcepl's repo.

I've added my scripts, the spec.md I'm working from, and the output I've got so far to the utils directory, along with a brief README.rst.

The autocomplete_data.json file is just an array of two-element arrays in the form [[keyword, documentation], ...] that are easy to map to label and documentation in CompletionItem.

So far this covers all the various preamble and dependencies keywords as well as a sizeable chunk of the scriptlets.

@dcermak
Copy link
Owner

dcermak commented Nov 8, 2023

Replaced by #22

@dcermak dcermak closed this Nov 8, 2023
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