Commit Graph

164 Commits

Author SHA1 Message Date
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
Steven Arcangeli d886a1bb0b feat: pass items to get_config for vim.ui.select 2022-07-31 08:12:18 -07:00
Steven Arcangeli d98769dfc2
Merge pull request #51 from stevearc/stevearc-keymaps
config options for setting keymaps
2022-07-28 21:32:51 -07:00
Github Actions 34220dce61 [docgen] Update README.md
skip-checks: true
2022-07-29 04:27:24 +00:00
Steven Arcangeli b1c08146ee feat: expose mappings to user via config 2022-07-28 21:27:06 -07:00
Steven Arcangeli 4466fd9836 ci: don't run duplicate tests on pull requests 2022-07-28 08:03:31 -07:00
Steven Arcangeli 99a6c531b2 ci: only run tests on nvim 0.7 and up 2022-07-28 08:00:51 -07:00
Steven Arcangeli 47b95c1eab refactor!: use newer APIs for setting keymaps and autocmds
BREAKING CHANGE: This drops support for Neovim versions earlier than
0.7. For earlier versions of Neovim, use the nvim-0.5 branch.
2022-07-28 07:54:40 -07:00
Steven Arcangeli 5915d56f89 doc: dropping support for Neovim < 0.7 2022-07-28 07:36:18 -07:00
Github Actions e9d0de4470 [docgen] Update README.md
skip-checks: true
2022-07-21 05:49:20 +00:00
Steven Arcangeli 9795bd71c9
Merge pull request #49 from mbenford/start-in-normal-mode
Add start_in_insert option
2022-07-20 22:49:07 -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 1e60c07ae9 format: apply new stylua formatting 2022-07-14 23:37:29 +00:00
Steven Arcangeli fb4637995e feat(input): support cancelreturn 2022-07-14 00:27:59 -07:00
Steven Arcangeli af179837e1 doc: add a section to the README about highlight groups 2022-06-07 19:05:24 -07:00
Steven Arcangeli d394a2591c fix: bad nui parameter in last commit (#45) 2022-06-07 08:04:09 -07:00