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

Support inputminted #3540

Open
jojo2357 opened this issue May 4, 2024 · 4 comments · May be fixed by #3541
Open

Support inputminted #3540

jojo2357 opened this issue May 4, 2024 · 4 comments · May be fixed by #3541
Labels
enhancement New feature or (non bug related) change to the program.

Comments

@jojo2357
Copy link
Contributor

jojo2357 commented May 4, 2024

It would be really cool in inputminted would autocomplete files, and supported languages, or possibly even inferring the lang from the filename???

Seems like it would require its own file argument completion provider? Thoughts @PHPirates ?

@jojo2357 jojo2357 added enhancement New feature or (non bug related) change to the program. untriaged Issue type still needs to be triaged or verified. labels May 4, 2024
@PHPirates
Copy link
Collaborator

What do you mean, I think the only thing to do here is adding it as a command that includes files (in the second argument)?

@PHPirates PHPirates removed the untriaged Issue type still needs to be triaged or verified. label May 4, 2024
@jojo2357
Copy link
Contributor Author

jojo2357 commented May 4, 2024

There are a finite number of lexers available, would be cool if it would suggest them. See pygmentize -L

@PHPirates
Copy link
Collaborator

Ah yes, should be possible to parse the output from a command like that and show that in the autocompletion.

@jojo2357
Copy link
Contributor Author

jojo2357 commented May 4, 2024

Is there an example of this I can take inspiration from?

@jojo2357 jojo2357 linked a pull request May 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or (non bug related) change to the program.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants