1return {
2 cmd = { "color-lsp" },
3 root_dir = function(bufnr, on_dir)
4 if vim.bo[bufnr].buftype == "" then
5 on_dir(vim.fn.getcwd())
6 end
7 end,
8 capabilities = {
9 textDocument = {
10 colorProvider = {
11 dynamicRegistration = true,
12 },
13 },
14 },
15}