diff options
author | Christian Segundo | 2024-12-08 13:06:41 +0100 |
---|---|---|
committer | Christian Segundo | 2024-12-08 13:06:41 +0100 |
commit | a459ffd8135d27499a616f5405468a1b20677223 (patch) | |
tree | 4a40f775e8f758d1c32636deb0b593de1ea14de4 /lua/plugins/extra | |
parent | b0a97cff0312d0634442147bbe4a8c63c9e81e3d (diff) | |
download | config-a459ffd8135d27499a616f5405468a1b20677223.tar.gz |
misc stylua
Diffstat (limited to 'lua/plugins/extra')
-rw-r--r-- | lua/plugins/extra/copilot.lua | 58 | ||||
-rw-r--r-- | lua/plugins/extra/vim-easy-align.lua | 24 | ||||
-rw-r--r-- | lua/plugins/extra/vim-fugitive.lua | 22 |
3 files changed, 52 insertions, 52 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, + }, } diff --git a/lua/plugins/extra/vim-easy-align.lua b/lua/plugins/extra/vim-easy-align.lua index bdb081d..a63afe2 100644 --- a/lua/plugins/extra/vim-easy-align.lua +++ b/lua/plugins/extra/vim-easy-align.lua @@ -1,14 +1,14 @@ return { - { - "https://github.com/junegunn/vim-easy-align", - keys = { - { - "ga", - "<Plug>(EasyAlign)", - mode = { "n", "x" }, - desc = "Align text", - silent = true, - }, - }, - }, + { + "https://github.com/junegunn/vim-easy-align", + keys = { + { + "ga", + "<Plug>(EasyAlign)", + mode = { "n", "x" }, + desc = "Align text", + silent = true, + }, + }, + }, } diff --git a/lua/plugins/extra/vim-fugitive.lua b/lua/plugins/extra/vim-fugitive.lua index d1f8a5a..70d3146 100644 --- a/lua/plugins/extra/vim-fugitive.lua +++ b/lua/plugins/extra/vim-fugitive.lua @@ -1,14 +1,14 @@ return { - { - "shumphrey/fugitive-gitlab.vim", - cmd = "GBrowse", - config = function() - vim.g.fugitive_gitlab_domains = { "https://gitlab.otters.xyz" } - end, - }, + { + "shumphrey/fugitive-gitlab.vim", + cmd = "GBrowse", + config = function() + vim.g.fugitive_gitlab_domains = { "https://gitlab.otters.xyz" } + end, + }, - { - "tpope/vim-fugitive", - dependencies = { "tpope/vim-rhubarb", "fugitive-gitlab.vim" }, - }, + { + "tpope/vim-fugitive", + dependencies = { "tpope/vim-rhubarb", "fugitive-gitlab.vim" }, + }, } |