File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11" Vim script
2- " Last Change: May 21 , 2013
2+ " Last Change: May 25 , 2013
33" Author: Peter Odding
44" URL: http://peterodding.com/code/vim/reload/
55
6- let g: xolox #reload#version = ' 0.6.15 '
6+ let g: xolox #reload#version = ' 0.6.16 '
77
88" Patterns to match various types of Vim script names. {{{1
99
@@ -41,7 +41,7 @@ if !exists('s:reload_script_active')
4141 let filename = s: unresolve_scriptname (a: filename )
4242 for [callback, pattern] in s: scripttypes
4343 if filename = ~ pattern
44- let friendly_name = fnamemodify ( filename, ' :~ ' )
44+ let friendly_name = filename
4545 if pattern = ~ ' ftplugin'
4646 " Determine include guard for generic file type plug-ins.
4747 let matches = matchlist (filename, pattern)
@@ -184,7 +184,7 @@ function! s:parse_scriptnames() " {{{2
184184endfunction
185185
186186function ! s: normalize_path (path ) " {{{2
187- let path = resolve ( fnamemodify ( a: path, ' :p ' ) )
187+ let path = xolox#misc#path#absolute ( a: path )
188188 " fnamemodify() doesn't seem to restore the original case on Windows…
189189 return xolox#misc#os#is_win () ? tolower (path ) : path
190190endfunction
You can’t perform that action at this time.
0 commit comments