1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-25 03:02:21 +08:00
2017-02-15 20:15:14 +08:00

16 lines
247 B
VimL

let s:file = {}
let s:system = SpaceVim#api#import('system')
if s:system.isWindows
let s:file['separator'] = '\'
else
let s:file['separator'] = '/'
endif
function! SpaceVim#api#file#get() abort
return deepcopy(s:file)
endfunction