feat(neovim): ajout de Neovim avec LazyVim (comme Omarchy)

Starter LazyVim versionné dans files/nvim, thème Catppuccin Mocha
(identique à Ghostty). Alias n = nvim ; vim reste l'$EDITOR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pierre MARTIN
2026-10-13 01:31:59 +02:00
co-authored by Claude Opus 5.5
parent a97f97c548
commit ac6ae897f4
9 changed files with 64 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
-- Voir https://www.lazyvim.org/configuration/general
+1
View File
@@ -0,0 +1 @@
-- Voir https://www.lazyvim.org/configuration/general
+31
View File
@@ -0,0 +1,31 @@
-- Starter LazyVim - https://github.com/LazyVim/starter
-- Les plugins sont téléchargés par lazy.nvim au premier lancement (hors Nix) :
-- lazy-lock.json est donc écrit dans ~/.config/nvim et n'est pas versionné.
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
if vim.v.shell_error ~= 0 then
vim.api.nvim_echo({
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
{ out, "WarningMsg" },
{ "\nPress any key to exit..." },
}, true, {})
vim.fn.getchar()
os.exit(1)
end
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
spec = {
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
{ import = "plugins" },
},
defaults = {
lazy = false,
version = false,
},
install = { colorscheme = { "catppuccin", "habamax" } },
checker = { enabled = true, notify = false },
})
+1
View File
@@ -0,0 +1 @@
-- Voir https://www.lazyvim.org/configuration/general