Commit Graph

229 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 f19cbd56f7 fix: ensure telescope win is closed before calling callback 2023-05-24 22:59:28 -07:00
Steven Arcangeli 2f17eee4d7 fix: minor tweaks to fix LSP type errors 2023-05-21 20:35:45 -07:00
Steven Arcangeli 9b0a311192 refactor: don't need to use global functions for completion 2023-05-21 20:31:58 -07:00
Steven Arcangeli 80dadc9c46 refactor: use modern option setter/getter methods 2023-05-21 20:29:43 -07:00
Github Actions 66e4990240 [docgen] Update README.md
skip-checks: true
2023-05-12 12:44:47 +00:00
Steven Arcangeli bf1a554644 refactor: undeprecate fzf-lua config (#97)
Instead of encouraging people to register fzf-lua ui_select manually, we
can just call into it. I found a way to pass in config options (which
was the sticking point previously). Doing it this way preserves the rest
of the dressing functionality (e.g. get_config)
2023-05-12 05:41:45 -07:00
Steven Arcangeli 540d6e7115 cleanup: remove shim for deprecated config options 2023-05-03 09:49:55 -07:00
Steven Arcangeli cfcb0d409b doc: add installation instructions for lazy.nvim 2023-04-27 07:07:17 -07:00
Steven Arcangeli f5d7fa1fa5 ci: run tests against v0.9 2023-04-21 22:13:36 -07:00
Steven Arcangeli 728da554e2 refactor: stop checking in doc/tags 2023-04-21 22:12:40 -07:00
Github Actions 0e3e1eba14 [docgen] Update README.md
skip-checks: true
2023-04-12 12:52:46 +00:00
Steven Arcangeli a518ec5b64 doc: link to nui.nvim wiki 2023-04-12 05:50:14 -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 0c999b7b96 doc: update highlight information for Neovim 0.9 2023-04-12 05:26:42 -07:00
Steven Arcangeli 91b9ba8a94 refactor: use nvim 0.9 window title when available 2023-04-07 12:21:57 -07:00
Github Actions c705b38907 [docgen] Update README.md
skip-checks: true
2023-04-04 17:56:48 +00:00
Steven Arcangeli 324f8f16e0 feat: provide better default window options for vim.ui.input (#94) 2023-04-04 10:54:52 -07:00
Steven Arcangeli 5f44f82948 fix: bad default value handling in vim.ui.input 2023-02-23 22:06:34 -08:00
Steven Arcangeli 55fd604006 fix: sanitize newlines in entries and prompts (#88) 2023-02-23 22:03:55 -08:00
Github Actions db716a0f12 [docgen] Update README.md
skip-checks: true
2023-02-05 19:44:05 +00:00
Steven Arcangeli 1a7f062ab3
Merge pull request #83 from uga-rosa/master
feat: allow to pass extra opts to vim.keymap.set()
2023-02-05 11:43:51 -08:00
uga-rosa 2257c3e367 feat: allow to pass extra opts to vim.keymap.set() 2023-02-06 02:19:47 +09:00
Steven Arcangeli 4436d6f41e feat: enable cmp omni autocomplete in vim.ui.input (#55) 2022-12-12 21:44:56 -08:00
Github Actions ed44aa798a [docgen] Update README.md
skip-checks: true
2022-12-05 07:45:45 +00:00
Steven Arcangeli c7eda5a68e refactor!: expose generic way to set window/buffer options in config (#75) 2022-12-04 23:45:04 -08:00
Steven Arcangeli 872cc4e5ea ci: update action versions 2022-12-01 08:57:42 -08:00
Steven Arcangeli 7894d5bc50
Merge pull request #73 from TheBlob42/master
fix(fzf-lua): pass prompt option to fzf
2022-11-18 13:09:08 -08:00
tobias.voelzel fa732334c5 fix(fzf-lua): pass prompt option to fzf
blub
2022-11-18 21:06:47 +01:00
Steven Arcangeli 8c1500069c ci: fix nvim appimage installation 2022-11-09 03:17:33 +00: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 12b808a686
Merge pull request #69 from emmanueltouzery/fix_win
fix issue when operating from a floating window
2022-10-03 08:12:08 -07:00
Steven Arcangeli da7a211699 ci: pin stylua version 2022-10-03 08:08:20 -07:00
Emmanuel Touzery 6c13c0dbc6 fix issue when operating from a floating window
the floating window would get closed when we open and returning to the
original window would crash.
2022-10-03 08:48:19 +02:00
Steven Arcangeli 76477792b3 format: stylua 2022-09-20 11:28:42 -07:00
Steven Arcangeli facb229f63
Merge pull request #67 from ibhagwan/master
chore(fzf-lua): use newer 'fzf_exec' API (#64)
2022-09-20 20:28:26 +02:00
bhagwan 7b9d6d1fd2
chore(fzf-lua): use newer 'fzf_exec' API (#64) 2022-09-20 09:46:28 -07:00
Steven Arcangeli fbc798c34c format: new version of stylua 2022-09-15 07:43:30 -07:00
Steven Arcangeli ee5fb7b42b format: stylua 2022-09-15 07:41:02 -07:00
Steven Arcangeli 502d5d4f28
Merge pull request #63 from qRoC/master
Add idx to codeaction selector
2022-09-15 16:40:29 +02:00
Andrii Savytskyi 175d86172b
Add space between idx and text in ordinal 2022-09-15 16:14:33 +03:00
Andrii Savytskyi ce8fdc8907
remove plenary.nvim dependency 2022-09-15 15:23:31 +03:00
Andrii Savytskyi 971c9c9712
Update telescope.lua 2022-09-15 12:50:30 +03:00
Steven Arcangeli b188b7750c fix: restore cursor position after select
Some of the select implementations, due to the fact that they switch
from normal mode to insert mode and back, cause the cursor to move
backwards by one column. This can have unfortunate effects if you are
relying on the cursor position to perform some operation.
2022-09-07 07:42:19 -07:00
Steven Arcangeli 9cdb3e0f09 fix: use schedule_wrap for select again (#59) (#58) 2022-08-31 08:37:33 -07:00
Steven Arcangeli f38eb33572 feat: more lazy loading for faster startup 2022-08-28 10:48:05 -07:00
Steven Arcangeli 232b6b3021 fix: only schedule_wrap when necessary (#58) 2022-08-28 10:18:01 -07:00
Steven Arcangeli be2ef16ddb fix: change default cursor-relative row/col to 0/0
Since the default anchor is SW, the previous default of 1/1 lead to the
text under the cursor being occluded.
2022-08-28 10:04:57 -07:00
Steven Arcangeli 96b09a0e3c fix(input): lua function completion 2022-08-23 08:41:21 -07:00