Renamer.nvim v2.0.0
·
0 commits
to 2f9e66b12cc115c3c8ad3aac360fb94d76f60bce
since this release
Bug Fixes
-
qflist: first line in file was not set correctly (2f9e66b), closes #79
-
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 fromvim.lsp.buf.rename()
to usingvim.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 forvim.lsp.buf.rename()
- Add rename changes to the quickfix list, conditioned
by a new setup parameter. Update docs to describe the new parameter.