From 66659884c36dadd1f445f9012fcf4e7600286d3e Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Wed, 6 Oct 2021 01:22:26 +0200 Subject: fix(checkhealth): rename check_health to check (#1296) as mandated by https://github.com/neovim/neovim/pull/15259#issuecomment-934241413 --- autoload/health/lspconfig.vim | 2 +- lua/lspconfig/health.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/health/lspconfig.vim b/autoload/health/lspconfig.vim index 745499eb..d47bb673 100644 --- a/autoload/health/lspconfig.vim +++ b/autoload/health/lspconfig.vim @@ -1,4 +1,4 @@ function! health#lspconfig#check() call health#report_start('Checking language server protocol configuration') - lua require 'lspconfig/health'.check_health() + lua require 'lspconfig/health'.check() endfunction diff --git a/lua/lspconfig/health.lua b/lua/lspconfig/health.lua index 8c83d562..51779132 100644 --- a/lua/lspconfig/health.lua +++ b/lua/lspconfig/health.lua @@ -1,5 +1,5 @@ local M = {} -function M.check_health() +function M.check() local configs = require 'lspconfig/configs' for _, top_level_config in pairs(configs) do -- cgit v1.2.3-70-g09d2