aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--runtime/autoload/man.vim3
-rw-r--r--runtime/doc/filetype.txt2
3 files changed, 4 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index a289b176fc..0baf3feb74 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -79,6 +79,8 @@ matrix:
- os: osx
compiler: gcc-4.9
osx_image: xcode7.3 # macOS 10.11
+ allow_failures:
+ - env: GCOV=gcov-5 CMAKE_FLAGS="$CMAKE_FLAGS -DUSE_GCOV=ON"
fast_finish: true
before_install: .ci/before_install.sh
diff --git a/runtime/autoload/man.vim b/runtime/autoload/man.vim
index 665839a80e..dbb46914a2 100644
--- a/runtime/autoload/man.vim
+++ b/runtime/autoload/man.vim
@@ -290,10 +290,7 @@ function! s:complete(sect, psect, name) abort
call s:error(v:exception)
return
endtry
- let old_fic = &fileignorecase
- let &fileignorecase = &wildignorecase
let pages = globpath(mandirs,'man?/'.a:name.'*.'.a:sect.'*', 0, 1)
- let &fileignorecase = old_fic
" We remove duplicates in case the same manpage in different languages was found.
return uniq(sort(map(pages, 's:format_candidate(v:val, a:psect)'), 'i'))
endfunction
diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt
index df6b55cfe7..336d9681ed 100644
--- a/runtime/doc/filetype.txt
+++ b/runtime/doc/filetype.txt
@@ -521,6 +521,8 @@ To use Nvim as a manpager: >
man.vim will always attempt to reuse the closest man window (above/left) but
otherwise create a split.
+The case sensitivity of completion is controlled by 'fileignorecase'.
+
Commands:
Man {name} Display the manpage for {name}.
Man {sect} {name} Display the manpage for {name} and section {sect}.