chore: stylua

This commit is contained in:
hedy
2023-12-29 21:50:48 +08:00
parent 6172c2ad2b
commit 8c6b11e4c2
2 changed files with 8 additions and 6 deletions

View File

@@ -175,9 +175,11 @@ function M.rename_symbol(sidebar)
sidebar:wrap_goto_location(function()
-- Options table with filter key only added in nvim-0.8
-- Use vim.lsp's function because it has better support.
l.buf.rename(nil, { filter = function (cl)
l.buf.rename(nil, {
filter = function(cl)
return not cfg.is_client_blacklisted(cl)
end })
end,
})
end)
return true
else

View File

@@ -93,7 +93,7 @@ end
---@param opts outline.OutlineOpts?
function Sidebar:initial_handler(response, opts)
if response == nil or type(response) ~= 'table' or self.view:is_open() then
utils.echo("No response from provider when requesting symbols!")
utils.echo('No response from provider when requesting symbols!')
return
end
@@ -313,7 +313,7 @@ end
---@param response outline.ProviderSymbol[]
function Sidebar:refresh_handler(response)
if response == nil or type(response) ~= 'table' then
utils.echo("No response from provider when requesting symbols!")
utils.echo('No response from provider when requesting symbols!')
return
end