json
This commit is contained in:
parent
7e10d80511
commit
186aa529c5
|
@ -0,0 +1,16 @@
|
||||||
|
return {
|
||||||
|
{ "github/copilot.vim", cmd = "Copilot", event = "InsertEnter" },
|
||||||
|
{
|
||||||
|
"CopilotC-Nvim/CopilotChat.nvim",
|
||||||
|
branch = "canary",
|
||||||
|
dependencies = {
|
||||||
|
{ "zbirenbaum/copilot.lua" }, -- or github/copilot.vim
|
||||||
|
{ "nvim-lua/plenary.nvim" }, -- for curl, log wrapper
|
||||||
|
},
|
||||||
|
opts = {
|
||||||
|
debug = true, -- Enable debugging
|
||||||
|
-- See Configuration section for rest
|
||||||
|
},
|
||||||
|
-- See Commands section for default commands if you want to lazy load on them
|
||||||
|
},
|
||||||
|
}
|
|
@ -32,6 +32,7 @@ return { -- Autoformat
|
||||||
css = { "prettier" },
|
css = { "prettier" },
|
||||||
scss = { "prettier" },
|
scss = { "prettier" },
|
||||||
php = { "php-cs-fixer" },
|
php = { "php-cs-fixer" },
|
||||||
|
json = { "prettier" },
|
||||||
-- Conform can also run multiple formatters sequentially
|
-- Conform can also run multiple formatters sequentially
|
||||||
python = { "isort", "black" },
|
python = { "isort", "black" },
|
||||||
},
|
},
|
||||||
|
@ -46,12 +47,6 @@ return { -- Autoformat
|
||||||
return vim.fs.find({ "dprint.json" }, { path = ctx.filename, upward = true })[1]
|
return vim.fs.find({ "dprint.json" }, { path = ctx.filename, upward = true })[1]
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
prettier = {
|
|
||||||
condition = function(ctx)
|
|
||||||
return vim.fs.find({ ".prettierrc" }, { path = ctx.filename, upward = true })[1]
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
--
|
|
||||||
-- Example of using shfmt with extra args
|
-- Example of using shfmt with extra args
|
||||||
shfmt = {
|
shfmt = {
|
||||||
extra_args = { "-i", "2", "-ci" },
|
extra_args = { "-i", "2", "-ci" },
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
-- See `:help gitsigns` to understand what the configuration keys do
|
-- See `:help gitsigns` to understand what the configuration keys do
|
||||||
return { -- Adds git related signs to the gutter, as well as utilities for managing changes
|
return {
|
||||||
|
{ -- Adds git related signs to the gutter, as well as utilities for managing changes
|
||||||
"lewis6991/gitsigns.nvim",
|
"lewis6991/gitsigns.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
signs = {
|
signs = {
|
||||||
|
@ -10,4 +11,17 @@ return { -- Adds git related signs to the gutter, as well as utilities for manag
|
||||||
changedelete = { text = "~" },
|
changedelete = { text = "~" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"pwntester/octo.nvim",
|
||||||
|
requires = {
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
"nvim-telescope/telescope.nvim",
|
||||||
|
-- OR 'ibhagwan/fzf-lua',
|
||||||
|
"nvim-tree/nvim-web-devicons",
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require("octo").setup()
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue