chore: stylua
This commit is contained in:
@@ -175,9 +175,11 @@ function M.rename_symbol(sidebar)
|
|||||||
sidebar:wrap_goto_location(function()
|
sidebar:wrap_goto_location(function()
|
||||||
-- Options table with filter key only added in nvim-0.8
|
-- Options table with filter key only added in nvim-0.8
|
||||||
-- Use vim.lsp's function because it has better support.
|
-- 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)
|
return not cfg.is_client_blacklisted(cl)
|
||||||
end })
|
end,
|
||||||
|
})
|
||||||
end)
|
end)
|
||||||
return true
|
return true
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ end
|
|||||||
---@param opts outline.OutlineOpts?
|
---@param opts outline.OutlineOpts?
|
||||||
function Sidebar:initial_handler(response, opts)
|
function Sidebar:initial_handler(response, opts)
|
||||||
if response == nil or type(response) ~= 'table' or self.view:is_open() then
|
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
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -313,7 +313,7 @@ end
|
|||||||
---@param response outline.ProviderSymbol[]
|
---@param response outline.ProviderSymbol[]
|
||||||
function Sidebar:refresh_handler(response)
|
function Sidebar:refresh_handler(response)
|
||||||
if response == nil or type(response) ~= 'table' then
|
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
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user