lsp: add TODO

This commit is contained in:
Ching Pei Yang 2025-05-09 04:02:10 +02:00
commit 955f2046cf
No known key found for this signature in database
GPG key ID: B3841364253DC4C8

View file

@ -126,6 +126,7 @@ in {
local capabilities = vim.lsp.protocol.make_client_capabilities() local capabilities = vim.lsp.protocol.make_client_capabilities()
${optionalString usingNvimCmp '' ${optionalString usingNvimCmp ''
-- TODO(horriblename): migrate to vim.lsp.config['*']
-- HACK: copied from cmp-nvim-lsp. If we ever lazy load lspconfig we -- HACK: copied from cmp-nvim-lsp. If we ever lazy load lspconfig we
-- should re-evaluate whether we can just use `default_capabilities` -- should re-evaluate whether we can just use `default_capabilities`
capabilities = { capabilities = {