MAJOR: Project rename and preparation for v1.0.0

I hope I haven't missed any for the renames!
This commit is contained in:
hedy
2023-11-12 12:40:32 +08:00
parent 2746f6f423
commit 965a3842c8
23 changed files with 141 additions and 118 deletions

View File

@@ -0,0 +1,25 @@
local md_parser = require 'outline.markdown'
local M = {}
-- probably change this
function M.should_use_provider(bufnr)
return string.match(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
---@param on_symbols function
---@param opts table
function M.request_symbols(on_symbols, opts)
on_symbols(md_parser.handle_markdown(), opts)
end
return M