mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
feat(lsp.util): deprecate vim.lsp.util.stylize_markdown
It's not used anywhere.
This commit is contained in:

committed by
Lewis Russell

parent
379c37fa0b
commit
a8edf6e445
@@ -1079,6 +1079,7 @@ local function get_markdown_fences()
|
||||
return fences
|
||||
end
|
||||
|
||||
--- @deprecated
|
||||
--- Converts markdown into syntax highlighted regions by stripping the code
|
||||
--- blocks and converting them into highlighted code.
|
||||
--- This will by default insert a blank line separator after those code block
|
||||
@@ -1099,6 +1100,7 @@ end
|
||||
--- - separator insert separator after code block
|
||||
---@return table stripped content
|
||||
function M.stylize_markdown(bufnr, contents, opts)
|
||||
vim.deprecate('vim.lsp.util.stylize_markdown', nil, '0.14')
|
||||
validate('contents', contents, 'table')
|
||||
validate('opts', opts, 'table', true)
|
||||
opts = opts or {}
|
||||
|
Reference in New Issue
Block a user