Skip to content

Commit

Permalink
feat: support blink.cmp
Browse files Browse the repository at this point in the history
  • Loading branch information
unlimitedsola committed Dec 15, 2024
1 parent 1575af5 commit e737ba1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/rustaceanvim/config/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ end
---@return lsp.ClientCapabilities
function server.create_client_capabilities()
local rs_capabilities = make_rustaceanvim_capabilities()
local blink_capabilities = mk_capabilities_if_available('blink.cmp', function(blink)
return blink.get_lsp_capabilities()
end)
local cmp_capabilities = mk_capabilities_if_available('cmp_nvim_lsp', function(cmp_nvim_lsp)
return cmp_nvim_lsp.default_capabilities()
end)
Expand All @@ -153,6 +156,7 @@ function server.create_client_capabilities()
return vim.tbl_deep_extend(
'force',
rs_capabilities,
blink_capabilities,
cmp_capabilities,
selection_range_capabilities,
folding_range_capabilities
Expand Down

0 comments on commit e737ba1

Please sign in to comment.