mirror of
https://github.com/neovim/neovim.git
synced 2025-11-18 00:01:46 +00:00
@@ -2,10 +2,10 @@ let s:suggest_faq = 'See https://github.com/neovim/neovim/wiki/FAQ'
|
|||||||
|
|
||||||
function! s:check_config() abort
|
function! s:check_config() abort
|
||||||
call health#report_start('Configuration')
|
call health#report_start('Configuration')
|
||||||
let sensible_pi = globpath(&runtimepath, '**/sensible.vim', 1, 1)
|
if !get(g:, 'loaded_sensible', 0)
|
||||||
if empty(sensible_pi)
|
|
||||||
call health#report_ok('no issues found')
|
call health#report_ok('no issues found')
|
||||||
else
|
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_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."
|
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.",
|
\ ." Also, sensible.vim sets 'ttimeoutlen' to a sub-optimal value.",
|
||||||
|
|||||||
Reference in New Issue
Block a user