refactor(plines): remove implicit curwin plines() function

This commit is contained in:
Björn Linse
2021-08-10 22:32:08 +02:00
parent a2909aa35f
commit a177c7df09
8 changed files with 41 additions and 42 deletions

View File

@@ -349,14 +349,6 @@ int get_last_leader_offset(char_u *line, char_u **flags)
return result;
}
/*
* Return the number of window lines occupied by buffer line "lnum".
*/
int plines(const linenr_T lnum)
{
return plines_win(curwin, lnum, true);
}
int plines_win(
win_T *const wp,
const linenr_T lnum,