Skip to content

Commit 438fdb8

Browse files
fix(copilot-lua-cmp): make nvim-cmp optional (#1429)
After migration to v5, when using this plugin, nvim-cmp is installed automatically, which does not necessarily need to happen if blink.cmp is installed
1 parent b4ea687 commit 438fdb8

File tree

1 file changed

+1
-0
lines changed
  • lua/astrocommunity/completion/copilot-lua-cmp

1 file changed

+1
-0
lines changed

lua/astrocommunity/completion/copilot-lua-cmp/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ return {
1919
{ import = "astrocommunity.completion.copilot-lua" },
2020
{
2121
"hrsh7th/nvim-cmp",
22+
optional = true,
2223
dependencies = { "zbirenbaum/copilot.lua" },
2324
opts = function(_, opts)
2425
local cmp, copilot = require "cmp", require "copilot.suggestion"

0 commit comments

Comments
 (0)