chore: stylua

This commit is contained in:
Simrat Grewal
2022-08-10 15:29:39 -07:00
parent d1065bc492
commit ed6c058eee
16 changed files with 231 additions and 81 deletions

View File

@@ -23,7 +23,15 @@ function M.hover_info(bufnr, params, on_info)
end
if not used_client then
on_info(nil, { contents = { kind = 'markdown', content = { 'No extra information availaible!' } } })
on_info(
nil,
{
contents = {
kind = 'markdown',
content = { 'No extra information availaible!' },
},
}
)
end
used_client.request('textDocument/hover', params, on_info, bufnr)
@@ -51,7 +59,12 @@ end
---@param on_symbols function
function M.request_symbols(on_symbols)
vim.lsp.buf_request_all(0, 'textDocument/documentSymbol', getParams(), on_symbols)
vim.lsp.buf_request_all(
0,
'textDocument/documentSymbol',
getParams(),
on_symbols
)
end
return M