-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The old `with_buffer_editor` would have not set the file and `with_buffer_editor_command` had unclear semantics if you should provide the file to the command or not. Instead of going the route of deprecation let's just make the breaking change and update `with_buffer_editor` to a more practical signature. Expect a `Command` and a `PathBuf` for the file. If the file is not among the args push it.
- Loading branch information
1 parent
383cbf6
commit b5d7ecf
Showing
2 changed files
with
20 additions
and
26 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