refactor: Reorganize provider API

This commit is contained in:
hedy
2023-11-22 20:55:10 +08:00
parent 3c9f267126
commit ec4f727631
5 changed files with 7 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ local M = {
---@return boolean ft_is_markdown
function M.should_use_provider(bufnr)
function M.supports_buffer(bufnr)
return vim.api.nvim_buf_get_option(bufnr, 'ft') == 'markdown'
end