Commit Graph

238 Commits

Author SHA1 Message Date
Steven Arcangeli c5775a888a lint: stricter type checking 2024-08-16 15:19:55 -07:00
Steven Arcangeli 6741f1062d cleanup: remove warnings for using deprecated highlight groups 2024-06-18 21:26:01 -04:00
Steven Arcangeli 374b51da1a cleanup: remove warning for deprecated "anchor" config option 2024-06-18 21:26:01 -04:00
Steven Arcangeli cd895f511f refactor!: remove insert_only config option
If you wish to restore this behavior, you can easily set a custom keymap
like so:
```lua
require("dressing").setup({
  input = {
    mappings = {
      i = {
        ["<Esc>"] = "Close",
      },
    },
  },
})
```

fixes #163
2024-06-18 21:26:01 -04:00
github-actions[bot] 71349f24c6
chore(master): release 2.2.2 (#159)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-18 20:48:16 -04:00
Steven Arcangeli e3714c8049 ci: use nvim-typecheck-action v2 2024-06-01 19:27:39 -07:00
emmanueltouzery 3c38ac861e
fix: stuck input control if callback fails (#158) 2024-05-22 13:48:25 -07:00
github-actions[bot] 572314728c
chore(master): release 2.2.1 (#156)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-16 12:39:56 -07:00
Steven Arcangeli 313a8c6961 ci: upgrade release-please-action to v4 2024-05-16 12:36:30 -07:00
Steven Arcangeli 8b7b3dce9e ci: run tests against Neovim v0.10.0 2024-05-16 12:26:10 -07:00
Steven Arcangeli 747befef21 ci: update stylua version to v0.20.0 2024-05-16 12:12:36 -07:00
Steven Arcangeli 5162edb144 ci: update checkout action 2024-04-23 19:20:16 -07:00
Steven Arcangeli 3858609d68 fix: refactor deprecated methods in neovim 0.10 2024-04-23 07:21:29 -07:00
Yi Ming 18e5beb384
fix(fzf-lua): add separator after prompt (#145)
* feat(fzf-lua): add an input indicator after prompt

* refactor: only use '>' as separator if ':' is not being used

---------

Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2024-03-12 20:16:43 -07:00
Steven Arcangeli 6f21226206 fix: undo fzf-lua cancel hack, was fixed upstream (#142) 2024-01-28 18:00:51 -08:00
Steven Arcangeli 0e88293ce3 fix(fzf-lua): not returning selected result 2024-01-25 11:09:18 -08:00
Steven Arcangeli 9f9b77315d fix(fzf-lua): canceling selection breaks future invocations of vim.ui.select 2024-01-25 11:07:13 -08:00
github-actions[bot] 42d767b04c
chore(master): release 2.2.0 (#132)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-21 14:58:47 -08:00
Steven Arcangeli 9de702fa7d fix: queue successive calls to input and select (#139) 2024-01-21 14:24:20 -08:00
231tr0n 7237cdf25e
fix: handle extra scenario where the prompt is sent with trailing spaces (#138)
* fix: handle extra scenario where the prompt is sent with trailing spaces

* changed selection for gsub

* trimmed correctly using vim.trim method
2024-01-21 08:16:20 -08:00
Steven Arcangeli c1179336aa feat: add checkhealth messages 2024-01-15 19:24:30 -08:00
Steven Arcangeli b2c644abfa ci: github workflow automation 2024-01-14 12:46:51 -08:00
231tr0n 44a3638721
fix: add space after prompt to look nicer (#136) 2024-01-14 09:33:08 -08:00
Alexandre Fonseca d7dde6afff
fix: take into account prompt size in nui and builtin selects (#135) 2024-01-14 09:30:26 -08:00
Github Actions 2caff86e8b [docgen] Update docs
skip-checks: true
2024-01-14 17:15:24 +00:00
pseudometa 48b713413d
feat: add `trim_prompt` setting for `vim.ui.input` (#134) 2024-01-14 09:15:12 -08:00
Steven Arcangeli 94b0d24483 fix(nui): prevent double-callback in ui.select (#131) 2023-12-26 17:39:23 +00:00
github-actions[bot] 8b7ae53d7f
chore(master): release 2.1.0 (#114)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-30 23:24:31 -08:00
Steven Arcangeli fe3071330a fix(telescope): codeactions error in Neovim nightly (#126) 2023-11-07 05:38:05 +00:00
Steven Arcangeli 1f2d1206a0 fix: remove default window transparency
Upstream bug https://github.com/neovim/neovim/issues/18576 causes the
background color to be solid black in some cases.
2023-10-10 20:26:53 -07:00
pseudometa 70fcf2a33c
fix: apply nowait to plugin keymaps (#120)
* fix: plugin keymaps delayed

* fix: stylua
2023-10-10 08:58:38 -07:00
Steven Arcangeli 34e52d58a2 format: auto sort requires 2023-10-08 23:33:52 -07:00
Steven Arcangeli 2950473e2f ci: use stylua 0.18.2 2023-10-08 23:00:25 -07:00
Steven Arcangeli 8f4d62b781 feat: support multiline prompt in vim.ui.input (#89) 2023-09-30 12:22:35 -07:00
Steven Arcangeli 73a7d54b52 refactor: replace util with vim.split 2023-09-29 09:32:38 -07:00
Steven Arcangeli 0c7acd7194 fix: input can only accept a single line (#119) 2023-09-29 09:32:38 -07:00
Github Actions c1e1d5fa44 [docgen] Update docs
skip-checks: true
2023-09-05 05:38:53 +00:00
Steven Arcangeli 15ef9a398c feat: config option to disable numbers for builtin select implementation (#117) 2023-09-04 21:11:57 -07:00
Steven Arcangeli b1c7b70e1e ci: merge workflows and add makefile 2023-09-02 09:16:31 -07:00
Steven Arcangeli c7b035de7f lint: add more type definitions to fix typechecker 2023-08-27 07:12:15 +00:00
Steven Arcangeli ee571505f3 feat: add highlight group for builtin select index (#113) 2023-08-19 22:05:35 +00:00
github-actions[bot] 59fe7ef1ae
chore(master): release 2.0.1 (#112)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-19 15:00:10 -07:00
Steven Arcangeli 6bde51adab ci: run type checking in actions 2023-08-13 01:20:15 -07:00
Steven Arcangeli 169877dbca fix: restore float title padding for nvim 0.9 (#109) 2023-08-09 16:27:23 -07:00
github-actions[bot] c0b67f3e29
chore(master): release 2.0.0 (#105)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-08 15:30:05 -07:00
Maria José Solano 1950a1bc6c
docs: fix winhighlight example (#111) 2023-08-08 15:22:24 -07:00
Steven Arcangeli 713b56e13c fix: increase buffer time for fzf-lua mode switching 2023-08-06 19:50:17 -07:00
Github Actions 829bc80400 [docgen] Update README.md
skip-checks: true
2023-07-29 16:36:38 +00:00
Steven Arcangeli bcaf0d3d6e refactor!: deprecate the "anchor" config option (#106)
This was left over from before we had the "override" function. Now, it
doesn't make much sense to set the anchor as an option because so much
of the rest of the layout logic depends on the anchor being the default.
If a user wants to customize the layout, the override function is the
way to do it.
2023-07-29 09:35:02 -07:00
Steven Arcangeli 5131545f0a cleanup: remove old deprecation messages 2023-07-29 09:28:27 -07:00