Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix problem on windows (val -> v:val)

  • Loading branch information...
commit fa1a6ab326637645f8b026ab91476fd5590538b1 1 parent 82ca7e7
@tomtom authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 plugin/tmru.vim
View
6 plugin/tmru.vim
@@ -4,7 +4,7 @@
" @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
" @Created: 2007-04-13.
" @Last Change: 2012-07-18.
-" @Revision: 600
+" @Revision: 601
" GetLatestVimScripts: 1864 1 tmru.vim
if &cp || exists("loaded_tmru")
@@ -219,9 +219,9 @@ function! s:MruRetrieve(...)
" Canonicalize filename when using &shellslash (Windows)
if exists('+shellslash')
if &shellslash
- let s:tmru_list = map(s:tmru_list, '[substitute(v:val[0], ''\\'', ''/'', ''g''), val[1]]')
+ let s:tmru_list = map(s:tmru_list, '[substitute(v:val[0], ''\\'', ''/'', ''g''), v:val[1]]')
else
- let s:tmru_list = map(s:tmru_list, '[substitute(v:val[0], ''/'', ''\\'', ''g''), val[1]]')
+ let s:tmru_list = map(s:tmru_list, '[substitute(v:val[0], ''/'', ''\\'', ''g''), v:val[1]]')
endif
endif
Please sign in to comment.
Something went wrong with that request. Please try again.