mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 16:58:17 +00:00
vim-patch:da53af5: runtime(netrw): correctly handle shellslash variable
closes: vim/vim#16758
da53af57a7
Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
" THESE FUNCTIONS DON'T COMMIT TO ANY BACKWARDS COMPATIBILITY. SO CHANGES AND
|
||||
" BREAKAGES IF USED OUTSIDE OF NETRW.VIM ARE EXPECTED.
|
||||
|
||||
let s:slash = &shellslash ? '/' : '\'
|
||||
let s:slash = !exists('+shellslash') || &shellslash ? '/' : '\'
|
||||
|
||||
" netrw#fs#PathJoin: Appends a new part to a path taking different systems into consideration {{{
|
||||
|
||||
|
Reference in New Issue
Block a user