fix: disabled (for now) / completion (breaks : completion)
This commit is contained in:
parent
9d6e837e9b
commit
d74484058b
1 changed files with 14 additions and 14 deletions
|
@ -211,20 +211,20 @@ local init_fn = function(use)
|
||||||
{ name = 'dap' },
|
{ name = 'dap' },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
cmp.setup.cmdline('/', {
|
-- cmp.setup.cmdline('/', {
|
||||||
formatting = {
|
-- formatting = {
|
||||||
format = function(entry, vim_item)
|
-- format = function(entry, vim_item)
|
||||||
local kind = require("lspkind").cmp_format({ mode = "symbol" })(entry, vim_item)
|
-- local kind = require("lspkind").cmp_format({ mode = "symbol" })(entry, vim_item)
|
||||||
kind.kind = " " .. kind.kind .. " "
|
-- kind.kind = " " .. kind.kind .. " "
|
||||||
return kind
|
-- return kind
|
||||||
end,
|
-- end,
|
||||||
},
|
-- },
|
||||||
mapping = cmp.mapping.preset.cmdline(),
|
-- mapping = cmp.mapping.preset.cmdline(),
|
||||||
sources = cmp.config.sources({
|
-- sources = cmp.config.sources({
|
||||||
{ name = 'nvim_lsp_document_symbol' },
|
-- { name = 'nvim_lsp_document_symbol' },
|
||||||
{ name = 'buffer', keyword_length = 3 },
|
-- { name = 'buffer', keyword_length = 3 },
|
||||||
})
|
-- })
|
||||||
})
|
-- })
|
||||||
|
|
||||||
-- Setup lspconfig.
|
-- Setup lspconfig.
|
||||||
capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
|
capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
|
||||||
|
|
Loading…
Reference in a new issue