Ramilito / kubectl.nvim

⎈ Streamline your Kubernetes management within Neovim—control and monitor your cluster seamlessly, all without leaving your coding environment.
Apache License 2.0
325 stars 9 forks source link

feat: add completion to filter #287

Closed Ramilito closed 2 months ago

Ramilito commented 2 months ago

added completion to filter exclude namespace from filter

solves #286

mosheavni commented 2 months ago

very nice! any idea why it sends me to the start of the line upon completion?

Ramilito commented 2 months ago

hmm where are you seeing that? after filtering?

mosheavni commented 2 months ago

2024-08-29_16-22-38 (1)

Ramilito commented 2 months ago

ah, that's probably vim.api.nvim_win_set_cursor(0, { #header + 2, #prompt }) We should check if cursor already is in prompt before calling that, it's supposed to help you when you select an option instead of using completion

Ramilito commented 2 months ago

fixed in #294