copilot.lua 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. -- require('copilot').setup({
  2. -- panel = {
  3. -- enabled = true,
  4. -- auto_refresh = false,
  5. -- keymap = {
  6. -- jump_prev = "[[",
  7. -- jump_next = "]]",
  8. -- accept = "<CR>",
  9. -- refresh = "gr",
  10. -- open = "<M-CR>"
  11. -- },
  12. -- },
  13. -- suggestion = {
  14. -- enabled = true,
  15. -- auto_trigger = false,
  16. -- debounce = 75,
  17. -- keymap = {
  18. -- accept = "<M-l>",
  19. -- accept_word = false,
  20. -- accept_line = false,
  21. -- next = "<M-]>",
  22. -- prev = "<M-[>",
  23. -- dismiss = "<C-]>",
  24. -- },
  25. -- },
  26. -- filetypes = {
  27. -- yaml = false,
  28. -- markdown = false,
  29. -- help = false,
  30. -- gitcommit = false,
  31. -- gitrebase = false,
  32. -- hgcommit = false,
  33. -- svn = false,
  34. -- cvs = false,
  35. -- ["."] = false,
  36. -- },
  37. -- copilot_node_command = 'node', -- Node.js version must be > 16.x
  38. -- server_opts_overrides = {},
  39. -- })