File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
autoload/vital/__vital__/System Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ let s:is_cygwin = has('win32unix')
15
15
let s: is_mac = ! s: is_windows && ! s: is_cygwin
16
16
\ && (has (' mac' ) || has (' macunix' ) || has (' gui_macvim' ) ||
17
17
\ (! isdirectory (' /proc' ) && executable (' sw_vers' )))
18
- " windows expand follow do not need for file extention
18
+ " windows expand follow do not need for file extension
19
19
let s: is_case_tolerant = filereadable (expand (' <sfile>:r' ) . ' .VIM' )
20
20
21
21
if s: is_windows
@@ -237,7 +237,7 @@ endfunction
237
237
238
238
if s: is_windows
239
239
function ! s: realpath (path ) abort
240
- if exists (' & shellslash' ) && &shellslash
240
+ if exists (' + shellslash' ) && &shellslash
241
241
return s: unixpath (a: path )
242
242
else
243
243
return s: winpath (a: path )
@@ -280,7 +280,7 @@ function! s:contains(path, base) abort
280
280
return pathlist[: baselistlen - 1 ] == # baselist
281
281
endfunction
282
282
283
- if s: is_windows && exists (' & completeslash' )
283
+ if s: is_windows && exists (' + completeslash' )
284
284
function ! s: expand (path ) abort
285
285
let backup_completeslash = &completeslash
286
286
try
You can’t perform that action at this time.
0 commit comments