summaryrefslogtreecommitdiff
path: root/lua/plugins/extra/copilot.lua
diff options
context:
space:
mode:
authorChristian Segundo2024-12-08 13:06:41 +0100
committerChristian Segundo2024-12-08 13:06:41 +0100
commita459ffd8135d27499a616f5405468a1b20677223 (patch)
tree4a40f775e8f758d1c32636deb0b593de1ea14de4 /lua/plugins/extra/copilot.lua
parentb0a97cff0312d0634442147bbe4a8c63c9e81e3d (diff)
downloadconfig-a459ffd8135d27499a616f5405468a1b20677223.tar.gz
misc stylua
Diffstat (limited to 'lua/plugins/extra/copilot.lua')
-rw-r--r--lua/plugins/extra/copilot.lua58
1 files changed, 29 insertions, 29 deletions
diff --git a/lua/plugins/extra/copilot.lua b/lua/plugins/extra/copilot.lua
index 15d0c73..e538ccc 100644
--- a/lua/plugins/extra/copilot.lua
+++ b/lua/plugins/extra/copilot.lua
@@ -1,33 +1,33 @@
return {
- {
- "zbirenbaum/copilot.lua",
- event = { "InsertEnter" },
- build = ":Copilot auth",
- config = function()
- vim.schedule(function()
- require("copilot").setup({
- filetypes = { yaml = true },
- suggestion = { enabled = false },
- panel = { enabled = false },
- })
- end)
- end,
- },
+ {
+ "zbirenbaum/copilot.lua",
+ event = { "InsertEnter" },
+ build = ":Copilot auth",
+ config = function()
+ vim.schedule(function()
+ require("copilot").setup({
+ filetypes = { yaml = true },
+ suggestion = { enabled = false },
+ panel = { enabled = false },
+ })
+ end)
+ end,
+ },
- {
- "zbirenbaum/copilot-cmp",
- dependencies = { "copilot.lua" },
- opts = {},
- },
+ {
+ "zbirenbaum/copilot-cmp",
+ dependencies = { "copilot.lua" },
+ opts = {},
+ },
- {
- "hrsh7th/nvim-cmp",
- dependencies = { "zbirenbaum/copilot-cmp" },
- opts = function(_, opts)
- if type(opts) == "table" then
- table.insert(opts.sources, 1, { name = "copilot" })
- opts.formatting.format.menu["copilot"] = ""
- end
- end,
- },
+ {
+ "hrsh7th/nvim-cmp",
+ dependencies = { "zbirenbaum/copilot-cmp" },
+ opts = function(_, opts)
+ if type(opts) == "table" then
+ table.insert(opts.sources, 1, { name = "copilot" })
+ opts.formatting.format.menu["copilot"] = ""
+ end
+ end,
+ },
}