forked from aniani/vim
patch 8.1.2126: viminfo not sufficiently tested
Problem: Viminfo not sufficiently tested.
Solution: Add more test cases. Clean up comments. (Yegappan Lakshmanan,
closes #5032)
This commit is contained in:
@@ -5783,12 +5783,18 @@ show_pat_in_path(
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_VIMINFO
|
||||
/*
|
||||
* Return the last used search pattern at "idx".
|
||||
*/
|
||||
spat_T *
|
||||
get_spat(int idx)
|
||||
{
|
||||
return &spats[idx];
|
||||
}
|
||||
|
||||
/*
|
||||
* Return the last used search pattern index.
|
||||
*/
|
||||
int
|
||||
get_spat_last_idx(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user