Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Commit d01cde2

Browse files
committed
fix: respect luacheck
1 parent 7e65695 commit d01cde2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/completion/hover.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ end
245245
local callback = 'textDocument/hover'
246246
local default_callback = vim.lsp.callbacks[callback]
247247

248-
function callback_function(_, method, result)
248+
local function callback_function(_, method, result)
249249
-- if M.winnr ~= nil and api.nvim_win_is_valid(M.winnr) then
250250
-- api.nvim_win_close(M.winnr, true)
251251
-- end

0 commit comments

Comments
 (0)