feat: Add refresh_outline function
This commit is contained in:
@@ -650,6 +650,11 @@ function M.show_status()
|
|||||||
return require('outline.docs').show_status(ctx)
|
return require('outline.docs').show_status(ctx)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
---Re-request symbols from the provider and update the outline accordingly
|
||||||
|
function M.refresh_outline()
|
||||||
|
return __refresh()
|
||||||
|
end
|
||||||
|
|
||||||
local function setup_commands()
|
local function setup_commands()
|
||||||
local cmd = function(n, c, o)
|
local cmd = function(n, c, o)
|
||||||
vim.api.nvim_create_user_command('Outline' .. n, c, o)
|
vim.api.nvim_create_user_command('Outline' .. n, c, o)
|
||||||
|
|||||||
Reference in New Issue
Block a user