We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64a8be0 commit 2c1f330Copy full SHA for 2c1f330
1 file changed
autoload/vital/__vital__/Prelude.vim
@@ -13,10 +13,16 @@ else
13
endfunction
14
endif
15
16
-function! s:globpath(path, expr) abort
17
- let R = globpath(a:path, a:expr, 1)
18
- return split(R, '\n')
19
-endfunction
+if v:version > 704 ||
+\ (v:version == 704 && has('patch279'))
+ function! s:globpath(path, expr) abort
+ return globpath(a:path, a:expr, 1, 1)
20
+ endfunction
21
+else
22
23
+ return split(globpath(a:path, a:expr, 1), '\n')
24
25
+endif
26
27
" Wrapper functions for type().
28
let [
0 commit comments