diff options
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/health/health.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/lua/vim/health/health.lua b/runtime/lua/vim/health/health.lua index dd6fe7f608..38fcd64f88 100644 --- a/runtime/lua/vim/health/health.lua +++ b/runtime/lua/vim/health/health.lua @@ -110,6 +110,16 @@ local function check_config() ) end + if vim.g.loaded_python3_provider == 1 then + ok = false + health.error( + '`g:loaded_python3_provider=1` may have been set by mistake. This option should not be used to load python provider in your config.', + { + 'Remove `vim.g.loaded_python3_provider=1` from your config.', + } + ) + end + local writeable = true local shadaopt = vim.fn.split(vim.o.shada, ',') local shadafile = ( |