Skip to content

Renamer.nvim v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Nov 09:28
· 0 commits to 2f9e66b12cc115c3c8ad3aac360fb94d76f60bce since this release

Bug Fixes

  • qflist: first line in file was not set correctly (2f9e66b), closes #79

  • rename: cursor placement at word end (37c27fa), closes #73

  • fix(rename)!: cursor is not placed at the end of the initial word (a20b471), closes #73

  • feat(rename)!: add option for empty popup (8f3d886), closes #71

  • feat!: add with_popup to enable/disable popup (4ef89d5), closes #68

  • feat(quickfix-list)!: add changes to qf list (c88a70a), closes #69

BREAKING CHANGES

  • Set the cursor to the end of the word inside the popup,
    taking into account padding, as oposed to placing it at the start of the
    popup.
  • Add options to rename() to allow for the
    popup to be empty or contain the initial word.
  • Fallback when popup is disabled/not able to be drawn
    changed from vim.lsp.buf.rename() to using vim.fn.input() to ask the
    user for input. This is required for:
  • setting the quickfix list with the resulting changes
  • preserving non-GUI input alternative, since Neovim 0.5.2+ will have
    its own interface for vim.lsp.buf.rename()
  • Add rename changes to the quickfix list, conditioned
    by a new setup parameter. Update docs to describe the new parameter.