Skip to content

Commit f9dc8e2

Browse files
committed
formatting
1 parent 312fc76 commit f9dc8e2

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

lua/ninjection/health.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,12 @@ local function validate_lsp_map(lsp_map)
170170
for _, lsp in pairs(lsp_map) do
171171
if not checked_lsp[lsp] then
172172
checked_lsp[lsp] = true
173-
---@type vim.lsp.ClientConfig?
174-
local lsp_cfg = vim.lsp.config[lsp]
175-
if not lsp_cfg then
176-
table.insert(valid_lsp_map, { lsp = lsp, is_valid = false, err = "No config found" })
177-
else
178-
local is_exec, exec_err = is_executable(lsp_cfg.cmd)
173+
---@type vim.lsp.ClientConfig?
174+
local lsp_cfg = vim.lsp.config[lsp]
175+
if not lsp_cfg then
176+
table.insert(valid_lsp_map, { lsp = lsp, is_valid = false, err = "No config found" })
177+
else
178+
local is_exec, exec_err = is_executable(lsp_cfg.cmd)
179179
table.insert(valid_lsp_map, {
180180
lsp = lsp,
181181
is_valid = is_exec,

0 commit comments

Comments
 (0)