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