Skip to content

Added command variations that use ui widget for prompt input#29

Open
Chemiseblanc wants to merge 3 commits intoBryley:mainfrom
Chemiseblanc:uiprompt
Open

Added command variations that use ui widget for prompt input#29
Chemiseblanc wants to merge 3 commits intoBryley:mainfrom
Chemiseblanc:uiprompt

Conversation

@Chemiseblanc
Copy link

This adds the commands:
NeoAIPrompt
NeoAIContextPrompt
NeoAIInject(Context)(Code)Prompt

These call vim.ui.input for retrieving the prompt using a ui widget instead of taking it as an argument.

This commit introduces new user commands for NeoAI plugin
 allowing users to use the vim.ui.input feature to retrieve the prompt and context
 before calling the plugin functionalities. Four new commands have been added
: "NeoAIPrompt", "NeoAIContextPrompt", "NeoAIInjectPrompt", and "NeoAIInject
ContextPrompt".
Fixed case when prompt is nil instead of an empty string
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.

1 participant