Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luckasranarison/neo-rename.nvim
workspace/willRenameFiles that just works
https://github.com/luckasranarison/neo-rename.nvim
lsp neovim neovim-plugin
Last synced: 18 days ago
JSON representation
workspace/willRenameFiles that just works
- Host: GitHub
- URL: https://github.com/luckasranarison/neo-rename.nvim
- Owner: luckasRanarison
- License: mit
- Created: 2023-11-13T06:19:14.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-30T11:54:09.000Z (12 months ago)
- Last Synced: 2024-10-10T23:32:14.235Z (about 1 month ago)
- Topics: lsp, neovim, neovim-plugin
- Language: Lua
- Homepage:
- Size: 3.91 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# neo-rename.nvim
A simple plugin that adds [workspace/willRenameFiles](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workspace_willRenameFiles) support for [neo-tree](https://github.com/nvim-neo-tree/neo-tree.nvim), it's basically a rewrite of [nvim-lsp-file-operations](https://github.com/antosha417/nvim-lsp-file-operations) adapted to my needs, and it fixes some of nvim-lsp-file-operations issues. I'll eventually port the changes there.
## Usage
The recommended way to use the plugin is by setting it as neo-tree dependency and calling the `setup()` function when initializing neo-tree for lazy loading. The plugin works out of the box, is asynchronous by default, and requires no additional configuration.
Example using [Lazy](https://github.com/folke/lazy.nvim):
```lua
return {
"nvim-neo-tree/neo-tree.nvim",
cmd = "Neotree",
dependencies = {
-- ...
"luckasRanarison/neo-rename.nvim"
},
opts = {
-- ...
},
config = function(_, opts)
require("neo-tree").setup(opts)
require("neo-rename").setup()
end
}
```