feat(providers): Modular hover-symbol support

This commit is contained in:
hedy
2023-11-27 20:11:16 +08:00
parent 80f76333ba
commit 80165f0472
6 changed files with 49 additions and 84 deletions

View File

@@ -20,15 +20,6 @@ function M.supports_buffer(bufnr)
return vim.api.nvim_buf_get_option(bufnr, 'ft') == 'markdown'
end
function M.hover_info(_, _, on_info)
on_info(nil, {
contents = {
kind = 'markdown',
contents = { 'No extra information availaible!' },
},
})
end
-- Parses markdown files and returns a table of SymbolInformation[] which is
-- used by the plugin to show the outline.
---@return outline.ProviderSymbol[]