GeezerVison is showing github.com — Version 3.5 · vim-scripts/mru.vim@8c88437
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: plugin/mru.vim +4-4Lines changed: 4 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | " File: mru.vim |
2 | 2 | " Author: Yegappan Lakshmanan (yegappan AT yahoo DOT com) |
3 | | -" Version: 3.4 |
4 | | -" Last Modified: April 13, 2012 |
5 | | -" Copyright: Copyright (C) 2003-2012 Yegappan Lakshmanan |
| 3 | +" Version: 3.5 |
| 4 | +" Last Modified: May 8, 2013 |
| 5 | +" Copyright: Copyright (C) 2003-2013 Yegappan Lakshmanan |
6 | 6 | " Permission is hereby granted to use and distribute this code, |
7 | 7 | " with or without modifications, provided that this copyright |
8 | 8 | " notice is copied with it. Like anything else that's free, |
@@ -919,7 +919,7 @@ function! s:MRU_Refresh_Menu() |
919 | 919 | let entry_cnt = len(s:MRU_files) |
920 | 920 | if entry_cnt > g:MRU_Max_Menu_Entries |
921 | 921 | " Show only MRU_Max_Menu_Entries file names in the menu |
922 | | - let mru_list = s:MRU_files[1 : g:MRU_Max_Menu_Entries] |
| 922 | + let mru_list = s:MRU_files[0 : g:MRU_Max_Menu_Entries - 1] |
923 | 923 | let entry_cnt = g:MRU_Max_Menu_Entries |
924 | 924 | else |
925 | 925 | let mru_list = s:MRU_files |
|