update lsp capabilitites

This commit is contained in:
ray-x 2023-10-13 17:56:08 +11:00
parent 7231ef9614
commit 8c06e1afe3

View File

@ -295,7 +295,7 @@ local function lsp_startup(ft, retry, user_lsp_opts)
log(lspclient)
-- if user provides override values
-- cfg.capabilities = capabilities
cfg.capabilities = capabilities
log(lspclient, config.lsp.disable_format_cap)
if vim.tbl_contains(config.lsp.disable_format_cap or {}, lspclient) then
log('fileformat disabled for ', lspclient)