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

@@ -2,7 +2,7 @@ local M = {
name = 'coc',
}
function M.should_use_provider(_)
function M.supports_buffer(_)
local not_coc_installed = vim.fn.exists('*CocActionAsync') == 0
local not_coc_service_initialized = vim.g.coc_service_initialized == 0