File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
" Vim script
2
- " Last Change: May 21 , 2013
2
+ " Last Change: May 25 , 2013
3
3
" Author: Peter Odding
4
4
" URL: http://peterodding.com/code/vim/reload/
5
5
6
- let g: xolox #reload#version = ' 0.6.15 '
6
+ let g: xolox #reload#version = ' 0.6.16 '
7
7
8
8
" Patterns to match various types of Vim script names. {{{1
9
9
@@ -41,7 +41,7 @@ if !exists('s:reload_script_active')
41
41
let filename = s: unresolve_scriptname (a: filename )
42
42
for [callback, pattern] in s: scripttypes
43
43
if filename = ~ pattern
44
- let friendly_name = fnamemodify ( filename, ' :~ ' )
44
+ let friendly_name = filename
45
45
if pattern = ~ ' ftplugin'
46
46
" Determine include guard for generic file type plug-ins.
47
47
let matches = matchlist (filename, pattern)
@@ -184,7 +184,7 @@ function! s:parse_scriptnames() " {{{2
184
184
endfunction
185
185
186
186
function ! s: normalize_path (path ) " {{{2
187
- let path = resolve ( fnamemodify ( a: path, ' :p ' ) )
187
+ let path = xolox#misc#path#absolute ( a: path )
188
188
" fnamemodify() doesn't seem to restore the original case on Windows…
189
189
return xolox#misc#os#is_win () ? tolower (path ) : path
190
190
endfunction
You can’t perform that action at this time.
0 commit comments