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

Terminal shell completions #305

Closed
Saghen opened this issue Nov 9, 2024 · 6 comments
Closed

Terminal shell completions #305

Saghen opened this issue Nov 9, 2024 · 6 comments
Labels
backlog Likely not getting to it anytime soon feature New feature or request sources Specific source provider or the system as a whole

Comments

@Saghen
Copy link
Owner

Saghen commented Nov 9, 2024

it should be possible to provide completions for the terminal by getting the completions from the shell

@Saghen Saghen added feature New feature or request sources Specific source provider or the system as a whole labels Nov 9, 2024
@JustBarnt
Copy link

@Saghen Would this feature also eliminate the need for cmp-cmdline as a source through blink.compat as well?

@Saghen
Copy link
Owner Author

Saghen commented Nov 11, 2024

@JustBarnt This would actually be for the terminal shell rather than command line (I.e. fish or zsh). I've had a few people think this is about command line so you're not alone 😄 I'll make the title clearer

@Saghen Saghen changed the title Terminal completions Terminal shell completions Nov 11, 2024
@JustBarnt
Copy link

@Saghen No worries! Thanks for the clarification! Looking forward to this as well as neovim commandline completions as well! Then I can full remove cmp from my config! 🤣 Keep up the amazing work!

@wurli
Copy link
Contributor

wurli commented Dec 18, 2024

Related question – is there currently a way to trigger completions in terminal mode from any source? For example, if I was running a Python repl in the Neovim terminal, is there a conceivable way that I could trigger Python autocomplete in the terminal buffer?

@Saghen
Copy link
Owner Author

Saghen commented Dec 18, 2024

Not right now because lib/buffer_events.lua doesn't trigger outside of insert/select modes. PR welcome though if anyone is interested! I'll likely come back to this idea after 1.0

@Saghen Saghen added the backlog Likely not getting to it anytime soon label Dec 18, 2024
@Saghen
Copy link
Owner Author

Saghen commented Feb 4, 2025

Closed by #665

@Saghen Saghen closed this as completed Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Likely not getting to it anytime soon feature New feature or request sources Specific source provider or the system as a whole
Projects
None yet
Development

No branches or pull requests

3 participants