Skip to content

Commit 8efcef1

Browse files
committed
Fix #26: typo in current function logic
1 parent 40b9074 commit 8efcef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lsp-status/current_function.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ end
1111
-- Find current function context
1212
local function current_function_callback(_, _, result, _, _)
1313
vim.b.lsp_current_function = ''
14-
if type(result) ~= table then
14+
if type(result) ~= 'table' then
1515
return
1616
end
1717

0 commit comments

Comments
 (0)