feat(providers): Support independent configs for each provider to handle

Closes #58
This commit is contained in:
hedy
2024-03-16 08:12:50 +08:00
parent 8c6b11e4c2
commit b64c0c66d4
7 changed files with 39 additions and 6 deletions

View File

@@ -94,6 +94,9 @@ M.defaults = {
lsp = {
blacklist_clients = {},
},
markdown = {
filetypes = { 'markdown' },
},
},
symbols = {
---@type outline.FilterConfig?
@@ -325,6 +328,8 @@ function M.resolve_config()
map[client] = true
end
M.o.providers.lsp.blacklist_clients = map
----- LSP PROVIDER CONFIG NAME -----
M.o.providers['nvim-lsp'] = M.o.providers.lsp
end
---Ensure l is either table, false, or nil. If not, print warning using given