forked from helix-editor/helix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add command to move files with LSP support (helix-editor#8584)
* Added rename command * Added an error if the new path already exists * Fixed wrong command name being used * fixed clippy suggestions * removed didRenameFiles call, fixed early return due to path Err * added ':rnm' alias to ':rename' * code cleanup * formatting * removed debug line * cargo fmt * Improved new buffer error message Co-authored-by: Pascal Kuthe <[email protected]> * Removed unnecessary path normalizing Co-authored-by: Pascal Kuthe <[email protected]> * Update helix-term/src/commands/typed.rs Co-authored-by: Pascal Kuthe <[email protected]> * Update helix-term/src/commands/typed.rs Co-authored-by: Pascal Kuthe <[email protected]> * Update helix-term/src/commands/typed.rs Co-authored-by: Pascal Kuthe <[email protected]> * Update helix-term/src/commands/typed.rs Co-authored-by: Pascal Kuthe <[email protected]> * feat: change `rename` command to `move` * feat: add multi lsp support when moving files * feat: allow lsp calls with a custom timeout * feat: sending lsp file_changed event once file has moved --------- Co-authored-by: ontley <[email protected]> Co-authored-by: ontley <[email protected]> Co-authored-by: Pascal Kuthe <[email protected]>
- Loading branch information
Showing
3 changed files
with
159 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters