Dressing.nvim Versions Save

Neovim plugin to improve the default vim.ui interfaces

v2.2.0

3 months ago

2.2.0 (2024-01-21)

Features

  • add trim_prompt setting for vim.ui.input (#134) (48b7134)
  • add checkhealth messages (c117933)

Bug Fixes

  • add space after prompt to look nicer (#136) (44a3638)
  • handle extra scenario where the prompt is sent with trailing spaces (#138) (7237cdf)
  • nui: prevent double-callback in ui.select (#131) (94b0d24)
  • queue successive calls to input and select (#139) (9de702f)
  • take into account prompt size in nui and builtin selects (#135) (d7dde6a)

v2.1.0

5 months ago

2.1.0 (2023-11-07)

Features

  • add highlight group for builtin select index (#113) (ee57150)
  • config option to disable numbers for builtin select implementation (#117) (15ef9a3)
  • support multiline prompt in vim.ui.input (#89) (8f4d62b)

Bug Fixes

  • apply nowait to plugin keymaps (#120) (70fcf2a)
  • input can only accept a single line (#119) (0c7acd7)
  • remove default window transparency (1f2d120)
  • telescope: codeactions error in Neovim nightly (#126) (fe30713)

v2.0.1

8 months ago

2.0.1 (2023-08-13)

Bug Fixes

  • restore float title padding for nvim 0.9 (#109) (169877d)

v2.0.0

9 months ago

2.0.0 (2023-08-08)

⚠ BREAKING CHANGES

  • deprecate the "anchor" config option (#106)

Features

  • built-in select implementation binds number keymaps (#104) (cc69bfe)

Bug Fixes

  • inconsistent mode after selecting with fzf-lua (3961185)
  • increase buffer time for fzf-lua mode switching (713b56e)

Code Refactoring

  • deprecate the "anchor" config option (#106) (bcaf0d3)

v1.0.0

10 months ago

1.0.0 (2023-06-26)

⚠ BREAKING CHANGES

  • drop support for Neovim 0.7
  • expose generic way to set window/buffer options in config (#75)
  • update vim.ui.input to match nvim 0.9 API
  • This drops support for Neovim versions earlier than 0.7. For earlier versions of Neovim, use the nvim-0.5 branch.
  • drop specialized text highlight groups (#30)
  • deprecate telescope 'theme' option
  • more layout options for input and builtin select (#19)
  • Remove prompt buffer implementation for ui.input

Features

  • add an unpatch() function (6487acd)
  • add config options for setting winhighlight (#8) (c856074)
  • add DressingInputText highlight group (#8) (2856055)
  • add DressingSelectText highlight group (#8) (f854223)
  • add FloatTitle highlight group (#8) (264874e)
  • add support for more telescope themes (edbae09)
  • allow get_config to modify enabled (#29) (31f12ff)
  • allow to pass extra opts to vim.keymap.set() (2257c3e)
  • bind <Esc> to cancel dialog in input (fix #1) (27d1ea0)
  • built-in select has winblend option (f57f0f3)
  • config option to disable specific ui modules (ed37836)
  • customize the code action UI for telescope (#6) (e3b31d4)
  • enable cmp omni autocomplete in vim.ui.input (#55) (4436d6f)
  • enable telescope customization for vim.ui.select caller (e607dd9)
  • error message when passing associative table to select (18a3548)
  • expose mappings to user via config (b1c0814)
  • history for ui.input (#12) (d5918d0)
  • input: add start_in_insert option (28cb494)
  • input: add winblend as a config option (dbfca4d)
  • input: option prompt_align (#27) (079e5d7)
  • input: option to allow normal mode (#3) (08c0cf3)
  • input: support cancelreturn (fb46379)
  • input: support the completion option (5caa867)
  • more layout options for input and builtin select (#19) (1e529b8)
  • more lazy loading for faster startup (f38eb33)
  • pass items to get_config for vim.ui.select (d886a1b)
  • provide better default window options for vim.ui.input (#94) (324f8f1)
  • select: add support for fzf-lua (#14) (c2208c3)
  • select: allow user to override format_item (#6) (4848f85)
  • select: override telescope config (43f325b)
  • set unique filetype on built-in modals (#3) (a3255df)
  • trim trailing colon from prompt (59cd93b)

Bug Fixes

  • apply filetype option after setting keymaps (#25) (01afd7b)
  • bad default value handling in vim.ui.input (5f44f82)
  • bad nui parameter in last commit (#45) (d394a25)
  • change default cursor-relative row/col to 0/0 (be2ef16)
  • close input window when entering cmdline window (#99) (f16d758)
  • drop specialized text highlight groups (#30) (e14e35a)
  • ensure telescope win is closed before calling callback (f19cbd5)
  • format_item doesn't have to return a string (7d0e85f)
  • fzf-lua: pass prompt option to fzf (fa73233)
  • hide deprecation notice when option not used (#26) (96552c9)
  • input: adjust implementation to avoid bugs in prompt buffer (#2) (189bbc6)
  • input: change the default_prompt to Input: (2f8a001)
  • input: close completion window more reliably (7e6e962)
  • input: disable mini completion (#38) (a476efd)
  • input: Don't trigger autocmds when opening input modal (#13) (d5eaf13)
  • input: empty string is converted to nil (a0196a4)
  • input: error on history_prev when no history (fc790e4)
  • input: expand width to fit prompt & default (f03962c)
  • input: lua function completion (96b09a0)
  • input: mode detection in special insert modes (1f91d26)
  • input: opening input while existing input is open (4dc2ca3)
  • input: race condition with multiple prompts in quick succession (6be518b)
  • input: Remove debug print from completion logic (362cc2c)
  • input: restore previous mode after leaving modal (25b7262)
  • input: set nowrap on window (#28) (8c42b8f)
  • minor tweaks to fix LSP type errors (2f17eee)
  • only schedule_wrap when necessary (#58) (232b6b3)
  • race condition produces broken state in input modal (304d73f)
  • re-add safety nil check (8d19119)
  • remove defer_fn hack in fzf select (fix #10) (0ad4d1e)
  • replace defer_fn hack with redraw hack (#18) (8e8f7e5)
  • restore cursor position after select (b188b77)
  • restore normal mode and cursor position when exiting input (7705013)
  • sanitize newlines in entries and prompts (#88) (55fd604)
  • select/telescope: check for nil selection (c84bf85)
  • select: off-by-one error in text highlighting (4b677be)
  • select: use original vim.ui.select if enabled is false (4bd4167)
  • skipping config.theme when it's a table (dbceda6)
  • stack overflow in telescope (#36) (f68a91a)
  • stop using vim.wo to set window options (154f223)
  • telescope codeaction properly columnates and indexes client name (#6) (b2406a0)
  • telescope: allow passing theme options (c49854a)
  • update vim.ui.input to match nvim 0.9 API (202bcf6)
  • use schedule_wrap for select again (#59) (#58) (9cdb3e0)
  • vim.ui.input can accept string as its first arg (37349af)
  • work around neovim open_win bug (#15) (3f23266)

cleanup

  • Remove prompt buffer implementation for ui.input (f487c89)

Code Refactoring

  • deprecate telescope 'theme' option (4542292)
  • drop support for Neovim 0.7 (63cfd55)
  • expose generic way to set window/buffer options in config (#75) (c7eda5a)
  • use newer APIs for setting keymaps and autocmds (47b95c1)