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 template arguments #4

Open
LunarWatcher opened this issue Oct 2, 2021 · 0 comments
Open

Support template arguments #4

LunarWatcher opened this issue Oct 2, 2021 · 0 comments

Comments

@LunarWatcher
Copy link
Owner

This may be required for languages like Python, where we can't or don't want to infer all the information from the current repository.

Essentially, by doing :DawnGenerate someTemplate name=someArgument, someTemplate gets access to %name. I'm not entirely sold in this approach specifically, though, because it feels clunky and out of place in a command. Another implementation idea is using popups, but that's gonna require vim/nvim compatibility, because nvim has a different API.

Other implementation ideas are also welcome - especially wrt. templates "requesting" arguments to be present.

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

1 participant