Neovim: use LazyVim

This commit is contained in:
Paul-Henri Froidmont 2024-07-16 02:02:33 +02:00
parent eac0729a0f
commit c63062d2ae
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
13 changed files with 649 additions and 904 deletions

View file

@ -0,0 +1,9 @@
return {
{ "ellisonleao/gruvbox.nvim" },
{
"LazyVim/LazyVim",
opts = {
colorscheme = "gruvbox",
}
},
}

View file

@ -0,0 +1,7 @@
return {
{ "folke/tokyonight.nvim", enabled = false },
{ "catppuccin", enabled = false },
{ "williamboman/mason.nvim", enabled = false },
{ "williamboman/mason-lspconfig.nvim", enabled = false },
{ "jay-babu/mason-nvim-dap.nvim", enabled = false },
}

View file

@ -0,0 +1,15 @@
return {
{
"NeogitOrg/neogit",
dependencies = { "nvim-lua/plenary.nvim", "sindrets/diffview.nvim", "nvim-telescope/telescope.nvim" },
event = "VeryLazy",
keys = {
{
"<leader>gg",
"<cmd>Neogit<cr>",
desc = "Neogit",
},
},
config = true,
},
}

View file

@ -0,0 +1,36 @@
return {
{
"mfussenegger/nvim-lint",
opts = {
linters_by_ft = {
nix = {
"statix",
},
},
},
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
nixd = {
settings = {
nixd = {
formatting = {
command = { "nixfmt" }
}
}
},
},
},
},
},
{
"stevearc/conform.nvim",
opts = {
formatters_by_ft = {
nix = { "nixpkgs-fmt" },
},
},
},
}

View file

@ -0,0 +1,10 @@
return {
{
"nvim-treesitter/nvim-treesitter",
opts = {
auto_install = false,
ensure_installed = {},
parser_install_dir = vim.fs.joinpath(vim.fn.stdpath('data'), 'site'),
},
},
}

View file

@ -0,0 +1,18 @@
return {
{
"mikavilpas/yazi.nvim",
event = "VeryLazy",
keys = {
{
"<leader>.",
function()
require("yazi").yazi()
end,
desc = "Open the file manager",
},
},
opts = {
open_for_directories = true,
},
}
}