aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Coudron <teto@users.noreply.github.com>2021-10-06 01:22:26 +0200
committerGitHub <noreply@github.com>2021-10-05 16:22:26 -0700
commit66659884c36dadd1f445f9012fcf4e7600286d3e (patch)
tree25fa9bab62b198d682280df70371fe04dc9aed28
parentfix: disable telemetry in yamlls (#1294) (diff)
downloadnvim-lspconfig-66659884c36dadd1f445f9012fcf4e7600286d3e.tar
nvim-lspconfig-66659884c36dadd1f445f9012fcf4e7600286d3e.tar.gz
nvim-lspconfig-66659884c36dadd1f445f9012fcf4e7600286d3e.tar.bz2
nvim-lspconfig-66659884c36dadd1f445f9012fcf4e7600286d3e.tar.lz
nvim-lspconfig-66659884c36dadd1f445f9012fcf4e7600286d3e.tar.xz
nvim-lspconfig-66659884c36dadd1f445f9012fcf4e7600286d3e.tar.zst
nvim-lspconfig-66659884c36dadd1f445f9012fcf4e7600286d3e.zip
fix(checkhealth): rename check_health to check (#1296)
as mandated by https://github.com/neovim/neovim/pull/15259#issuecomment-934241413
-rw-r--r--autoload/health/lspconfig.vim2
-rw-r--r--lua/lspconfig/health.lua2
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