Advertisement
sepefr

Untitled

Mar 29th, 2024
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. auto-complete.lua
  2.  
  3. ---
  4.  
  5. local plugins = {
  6. {"zbirenbaum/copilot.lua",
  7. cmd = "Copilot",
  8. event = "InsertEnter",
  9. lazy = false,
  10. config = function()
  11. require("copilot").setup({})
  12. end,},
  13.  
  14. {
  15. "hrsh7th/nvim-cmp",
  16. dependencies = {
  17. {
  18. "zbirenbaum/copilot-cmp",
  19. config = function()
  20. require("copilot_cmp").setup()
  21. end,
  22. },
  23. },
  24. opts = {
  25. sources = {
  26. { name = "nvim_lsp", group_index = 2 },
  27. { name = "copilot", group_index = 2 },
  28. { name = "luasnip", group_index = 2 },
  29. { name = "buffer", group_index = 2 },
  30. { name = "nvim_lua", group_index = 2 },
  31. { name = "path", group_index = 2 },
  32. },
  33. },
  34. },
  35. }
  36.  
  37. return plugins
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement