From cd1ccf056be9cbcc3d5cbefff08135276bc476ed Mon Sep 17 00:00:00 2001 From: Michael Lingelbach Date: Tue, 13 Jul 2021 10:41:39 -0700 Subject: chore: change stylua to single quotes (#1068) --- lua/lspconfig/health.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lua/lspconfig/health.lua') diff --git a/lua/lspconfig/health.lua b/lua/lspconfig/health.lua index a9666b6e..8c83d562 100644 --- a/lua/lspconfig/health.lua +++ b/lua/lspconfig/health.lua @@ -1,21 +1,21 @@ local M = {} function M.check_health() - local configs = require "lspconfig/configs" + local configs = require 'lspconfig/configs' for _, top_level_config in pairs(configs) do -- Only check configs that have a make_config function. if not (top_level_config.make_config == nil) then -- the folder needs to exist - local config = top_level_config.make_config "." + local config = top_level_config.make_config '.' local status, cmd = pcall(vim.lsp._cmd_parts, config.cmd) if not status then - vim.fn["health#report_error"](string.format("%s: config.cmd error, %s", config.name, cmd)) + vim.fn['health#report_error'](string.format('%s: config.cmd error, %s', config.name, cmd)) else if not (vim.fn.executable(cmd) == 1) then - vim.fn["health#report_error"](string.format("%s: The given command %q is not executable.", config.name, cmd)) + vim.fn['health#report_error'](string.format('%s: The given command %q is not executable.', config.name, cmd)) else - vim.fn["health#report_info"](string.format("%s: configuration checked.", config.name)) + vim.fn['health#report_info'](string.format('%s: configuration checked.', config.name)) end end end -- cgit v1.2.3-70-g09d2