Skip to content

Commit 658f548

Browse files
committed
linter care
1 parent a8d8d54 commit 658f548

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lua/obsidian/commands/debug.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ end
3232

3333
---@return { available: boolean, refs: boolean|?, tags: boolean|?, new: boolean|?, sources: string[]|? }
3434
local function check_completion_with_blink()
35-
local ok, blink_sources_lib = pcall(require, "blink.cmp.sources.lib")
36-
if not ok then
35+
local require_ok, blink_sources_lib = pcall(require, "blink.cmp.sources.lib")
36+
if not require_ok then
3737
return { available = false }
3838
end
3939

@@ -42,8 +42,8 @@ local function check_completion_with_blink()
4242
local cmp_new = pcall(blink_sources_lib.get_provider_by_id, "obsidian_new")
4343

4444
local sources = {}
45-
local ok, providers = pcall(blink_sources_lib.get_all_providers)
46-
if ok then
45+
local get_providers_ok, providers = pcall(blink_sources_lib.get_all_providers)
46+
if get_providers_ok then
4747
vim.tbl_map(function(provider)
4848
table.insert(sources, provider.name)
4949
end, providers)

0 commit comments

Comments
 (0)