Merge branch 'main' of github.com:hedyhli/outline.nvim

This commit is contained in:
hedy
2024-03-16 08:13:33 +08:00
3 changed files with 4 additions and 4 deletions

View File

@@ -311,7 +311,7 @@ Pass a table to the setup call with your configuration options.
-- winhl options for the preview window, see ':h winhl' -- winhl options for the preview window, see ':h winhl'
winhl = 'NormalFloat:', winhl = 'NormalFloat:',
-- Pseudo-transparency of the preview window, see ':h winblend' -- Pseudo-transparency of the preview window, see ':h winblend'
winblend = 0 winblend = 0,
-- Experimental feature that let's you edit the source content live -- Experimental feature that let's you edit the source content live
-- in the preview window. Like VS Code's "peek editor". -- in the preview window. Like VS Code's "peek editor".
live = false live = false

View File

@@ -1,4 +1,4 @@
*outline.txt* For NVIM v0.7.0 Last change: 2023 December 27 *outline.txt* For NVIM v0.7.0 Last change: 2024 January 22
============================================================================== ==============================================================================
Table of Contents *outline-table-of-contents* Table of Contents *outline-table-of-contents*
@@ -263,7 +263,7 @@ Show defaults ~
-- winhl options for the preview window, see ':h winhl' -- winhl options for the preview window, see ':h winhl'
winhl = 'NormalFloat:', winhl = 'NormalFloat:',
-- Pseudo-transparency of the preview window, see ':h winblend' -- Pseudo-transparency of the preview window, see ':h winblend'
winblend = 0 winblend = 0,
-- Experimental feature that let's you edit the source content live -- Experimental feature that let's you edit the source content live
-- in the preview window. Like VS Code's "peek editor". -- in the preview window. Like VS Code's "peek editor".
live = false live = false

View File

@@ -76,7 +76,7 @@ function M.request_symbols(on_symbols, opts)
vim.fn.call('CocActionAsync', { vim.fn.call('CocActionAsync', {
'documentSymbols', 'documentSymbols',
function(_, symbols) function(_, symbols)
on_symbols({ [1000000] = { result = convert_symbols(symbols) } }, opts) on_symbols(convert_symbols(symbols), opts)
end, end,
}) })
end end