Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0ea569c

Browse files
committed
Split paths by both backslash and forward slash on Windows
Mayclose#478
1 parenta675dff commit0ea569c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎autoload/fern/internal/filepath.vim‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ endfunction
4040

4141
function!s:to_slash_windows(path)abort
4242
let prefix=s:is_absolute_windows(a:path) ?'/' :''
43-
let terms=filter(split(a:path,'\\'),'!empty(v:val)')
43+
let terms=filter(split(a:path,'\\/'),'!empty(v:val)')
4444
return prefix .join(terms,'/')
4545
endfunction
4646

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp