mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-18 08:02:54 +00:00
rm supermaven and accept cmp
This commit is contained in:
parent
7c67bd3fb4
commit
13f4b8125f
5 changed files with 56 additions and 20 deletions
|
|
@ -17,7 +17,12 @@ function M.on_attach(_, bufnr)
|
|||
end
|
||||
|
||||
function M.capabilities()
|
||||
return vim.lsp.protocol.make_client_capabilities()
|
||||
local caps = vim.lsp.protocol.make_client_capabilities()
|
||||
local ok, blink = pcall(require, 'blink.cmp')
|
||||
if ok then
|
||||
caps = blink.get_lsp_capabilities(caps)
|
||||
end
|
||||
return caps
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue