Commit Graph

11 Commits

Author SHA1 Message Date
Steven Arcangeli f16d7586fc fix: close input window when entering cmdline window (#99) 2023-06-02 12:09:51 -07:00
Steven Arcangeli a89327e245 refactor: remove fzf_lua implementation; defer directly to fzf_lua
Since fzf-lua ships with an implementation for vim.ui.select, we should
use that directly instead of creating our own wrapper. It reduces
overall code duplication and reduces the surface area for bugs to creep
in.
2023-04-12 05:43:58 -07:00
Steven Arcangeli 202bcf6bdb fix!: update vim.ui.input to match nvim 0.9 API
https://github.com/neovim/neovim/pull/20883 changed the behavior of
vim.ui.input. The main change was that inputting no text now returns an
empty string instead of nil.
2022-11-09 02:21:46 +00:00
Steven Arcangeli 2319ee2397 ci: improve sandboxing of tests 2022-11-09 01:37:57 +00:00
Steven Arcangeli 96b09a0e3c fix(input): lua function completion 2022-08-23 08:41:21 -07:00
Michael Benford 28cb494b61 feat(input): add start_in_insert option
Add a new option, start_in_insert, that defaults to true and controls
whether the input will start in insert or normal mode.
2022-07-20 17:26:40 -03:00
Steven Arcangeli c2208c3e5c feat(select): add support for fzf-lua (#14) 2022-01-17 14:22:24 -08:00
Steven Arcangeli f487c89b56 cleanup!: Remove prompt buffer implementation for ui.input
The `prompt_buffer = true` option will no longer function. The only
input modal implementation will use a normal scratch buffer.
2022-01-11 16:34:27 -08:00
Steven Arcangeli 43dd74f512 test: automated tests for the input modal 2021-12-09 17:09:22 -08:00
Steven Arcangeli 189bbc6562 fix(input): adjust implementation to avoid bugs in prompt buffer (#2) 2021-12-08 18:52:04 -08:00
Steven Arcangeli 5caa867d3d feat(input): support the completion option 2021-12-04 16:38:59 -08:00