-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework and simplify magit#utils#search_buffer_in_windows usage
This very complicated function has been created for wrong reasons. vim offers since 7.4.1926 a lot of window related function, such as 'bufwinid()', 'win_gotoid()'... This function were used in magit#show_magit and magit#jump_to. magit#show_magit is a simple update. magit#jump_to goes a bit furhter, to beat existing corner cases. This new patch implies a check of vim version at startup.
- Loading branch information
Showing
2 changed files
with
23 additions
and
30 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