diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | runtime/autoload/health/nvim.vim | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -7,7 +7,7 @@ [Gitter **Chat**](https://gitter.im/neovim/neovim) [](https://travis-ci.org/neovim/neovim) -[](https://ci.appveyor.com/project/neovim/neovim/branch/master) +[](https://ci.appveyor.com/project/neovim/neovim/branch/master) [](https://waffle.io/neovim/neovim) [](https://coveralls.io/r/neovim/neovim) [](https://scan.coverity.com/projects/2227) diff --git a/runtime/autoload/health/nvim.vim b/runtime/autoload/health/nvim.vim index ea87e4b3ac..85c17fa660 100644 --- a/runtime/autoload/health/nvim.vim +++ b/runtime/autoload/health/nvim.vim @@ -2,10 +2,10 @@ let s:suggest_faq = 'See https://github.com/neovim/neovim/wiki/FAQ' function! s:check_config() abort call health#report_start('Configuration') - let sensible_pi = globpath(&runtimepath, '**/sensible.vim', 1, 1) - if empty(sensible_pi) + if !get(g:, 'loaded_sensible', 0) call health#report_ok('no issues found') else + let sensible_pi = globpath(&runtimepath, '**/sensible.vim', 1, 1) call health#report_info("found sensible.vim plugin:\n".join(sensible_pi, "\n")) call health#report_error("sensible.vim plugin is not needed; Nvim has the same defaults built-in." \ ." Also, sensible.vim sets 'ttimeoutlen' to a sub-optimal value.", |