Commit 9dd1f09 1 parent d3da4b4 commit 9dd1f09 Copy full SHA for 9dd1f09
File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed 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.6
3
+ " Version: 3.7
4
4
" Last Modified: December 22, 2013
5
5
" Copyright: Copyright (C) 2003-2013 Yegappan Lakshmanan
6
- " Permission is hereby granted to use and distribute this code,
6
+ " License: 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,
9
9
" mru.vim is provided *as is* and comes with no warranty of any
@@ -423,7 +423,11 @@ endfunction
423
423
" that should be escaped (for security reasons)
424
424
let s: esc_filename_chars = ' *?[{`$%#"|!<>();&' . " '\t \n "
425
425
function ! s: MRU_escape_filename (fname)
426
- return escape (a: fname , s: esc_filename_chars )
426
+ if exists (" *fnameescape" )
427
+ return fnameescape (a: fname )
428
+ else
429
+ return escape (a: fname , s: esc_filename_chars )
430
+ endif
427
431
endfunction
428
432
429
433
" MRU_Edit_File {{{1
You can’t perform that action at this time.
0 commit comments