2024-03-09 16:03:44 +00:00
|
|
|
return {
|
|
|
|
{
|
|
|
|
"stevearc/conform.nvim",
|
2024-04-03 22:07:52 +00:00
|
|
|
event = 'BufWritePre', -- uncomment for format on save
|
2024-03-09 16:03:44 +00:00
|
|
|
config = function()
|
|
|
|
require "configs.conform"
|
|
|
|
end,
|
|
|
|
},
|
2024-04-03 22:07:52 +00:00
|
|
|
{
|
|
|
|
"github/copilot.vim",
|
|
|
|
lazy = false,
|
|
|
|
config = function ()
|
|
|
|
vim.g.copilot_no_tab_map = true
|
|
|
|
vim.g.copilot_assume_mapped = true
|
|
|
|
vim.api.nvim_set_keymap("i", "<C-J>", 'copilot#Accept("<CR>")', {silent = true, expr = true})
|
|
|
|
end,
|
|
|
|
},
|
2024-04-05 14:03:56 +00:00
|
|
|
{
|
|
|
|
"NeogitOrg/neogit",
|
|
|
|
dependencies = {
|
|
|
|
"nvim-lua/plenary.nvim", -- required
|
|
|
|
"sindrets/diffview.nvim", -- optional - Diff integration
|
|
|
|
|
|
|
|
-- Only one of these is needed, not both.
|
|
|
|
"nvim-telescope/telescope.nvim", -- optional
|
|
|
|
"ibhagwan/fzf-lua", -- optional
|
|
|
|
},
|
|
|
|
config = true
|
|
|
|
},
|
2024-04-03 22:07:52 +00:00
|
|
|
{
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
config = function()
|
|
|
|
require "configs.neodev"
|
|
|
|
require("nvchad.configs.lspconfig").defaults()
|
|
|
|
require "configs.lspconfig"
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"williamboman/mason.nvim",
|
|
|
|
opts = {
|
|
|
|
ensure_installed = {
|
|
|
|
"lua-language-server", "stylua",
|
|
|
|
"html-lsp", "css-lsp" , "prettier",
|
|
|
|
"cmake-language-server", "clangd"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"nvim-treesitter/nvim-treesitter",
|
|
|
|
opts = {
|
|
|
|
ensure_installed = {
|
|
|
|
"vim", "lua", "vimdoc",
|
|
|
|
"html", "css", "cmake", "c", "cpp", "zig", "rust"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"mfussenegger/nvim-dap",
|
|
|
|
config = function()
|
|
|
|
require "configs.dap-config"
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"rcarriga/nvim-dap-ui",
|
|
|
|
dependencies = {
|
|
|
|
"mfussenegger/nvim-dap", "nvim-neotest/nvim-nio"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"folke/neodev.nvim",
|
|
|
|
opts = {}
|
|
|
|
}
|
2024-03-09 16:03:44 +00:00
|
|
|
}
|