61 lines
1.3 KiB
Lua
61 lines
1.3 KiB
Lua
return {
|
|
{
|
|
"stevearc/conform.nvim",
|
|
event = 'BufWritePre', -- uncomment for format on save
|
|
config = function()
|
|
require "configs.conform"
|
|
end,
|
|
},
|
|
{
|
|
"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,
|
|
},
|
|
{
|
|
"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 = {}
|
|
}
|
|
}
|