Skip to content

Commit

Permalink
Make copilot not to class with ghost text and autocomplete.
Browse files Browse the repository at this point in the history
wiccy46 committed Oct 29, 2024
1 parent a4a8d67 commit 33362e6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions lua/plugins/copilot.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
return {
{
"nvim-cmp",
opts = function(_, opts)
-- local cmp = require("cmp")
opts.sources = vim.tbl_filter(function(v)
return not vim.tbl_contains({ "copilot" }, v.name)
end, opts.sources)
end,
},
{
"zbirenbaum/copilot.lua",
opts = {
suggestion = { enabled = true },
},
}
}

0 comments on commit 33362e6

Please sign in to comment.