feat: upgrade config to nvchad 2.5

This commit is contained in:
Adrien Waksberg 2024-04-08 11:26:41 +02:00
parent 4402ee4687
commit d1b646a70b
21 changed files with 964 additions and 231 deletions
lua/plugins

66
lua/plugins/init.lua Normal file
View file

@ -0,0 +1,66 @@
return {
{
"stevearc/conform.nvim",
-- event = 'BufWritePre', -- uncomment for format on save
config = function()
require "configs.conform"
end,
},
-- These are some examples, uncomment them if you want to see them work!
-- {
-- "neovim/nvim-lspconfig",
-- config = function()
-- require("nvchad.configs.lspconfig").defaults()
-- require "configs.lspconfig"
-- end,
-- },
--
{
"williamboman/mason.nvim",
opts = {
ensure_installed = {
-- lua stuff
"lua-language-server",
"stylua",
-- web dev stuff
"css-lsp",
"html-lsp",
"typescript-language-server",
"deno",
"prettier",
-- c/cpp stuff
"clangd",
"clang-format",
-- shell
"bash-language-server",
"shfmt",
"shellcheck",
-- ansible
"ansible-language-server",
-- docker
"dockerfile-language-server",
},
},
},
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"vim",
"lua",
"html",
"css",
"javascript",
"typescript",
"tsx",
"c",
"markdown",
"markdown_inline",
},
indent = {
enable = true,
},
},
},
}