fix: healthcheck (#65)

This commit is contained in:
Munif Tanjim 2022-08-12 19:41:25 +06:00 committed by GitHub
parent 68ac8cfe67
commit 7b79627fd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -262,7 +262,7 @@ local health_ok = vim.fn["health#report_ok"]
local health_error = vim.fn["health#report_error"] local health_error = vim.fn["health#report_error"]
local function checkhealth() local function checkhealth()
local has_sql, _ = pcall(require, "sql") local has_sql, _ = pcall(require, "sqlite")
if has_sql then if has_sql then
health_ok "sql.nvim installed." health_ok "sql.nvim installed."
-- return "MOOP" -- return "MOOP"
@ -293,6 +293,6 @@ return telescope.register_extension {
frecency = frecency, frecency = frecency,
get_workspace_tags = get_workspace_tags, get_workspace_tags = get_workspace_tags,
validate_db = db_client.validate, validate_db = db_client.validate,
health = checkhealth,
}, },
health = checkhealth,
} }