summaryrefslogtreecommitdiff
path: root/dotfiles/.config/nvim/lua/lazy_setup.lua
diff options
context:
space:
mode:
authorDenis Chevalier <perso@denischevalier.fr>2026-08-03 21:09:25 +0200
committerDenis Chevalier <perso@denischevalier.fr>2026-08-03 21:09:25 +0200
commitfef7a7ef4fa31170ee78dfb774934feb84a88423 (patch)
treee88b5afd2feae6f9755e2ab345e6bca15a567d6a /dotfiles/.config/nvim/lua/lazy_setup.lua
downloadpostinstall-fef7a7ef4fa31170ee78dfb774934feb84a88423.tar.gz
postinstall-fef7a7ef4fa31170ee78dfb774934feb84a88423.tar.bz2
postinstall-fef7a7ef4fa31170ee78dfb774934feb84a88423.zip
arch postinstall scripts
Diffstat (limited to 'dotfiles/.config/nvim/lua/lazy_setup.lua')
-rw-r--r--dotfiles/.config/nvim/lua/lazy_setup.lua32
1 files changed, 32 insertions, 0 deletions
diff --git a/dotfiles/.config/nvim/lua/lazy_setup.lua b/dotfiles/.config/nvim/lua/lazy_setup.lua
new file mode 100644
index 0000000..8e1abfb
--- /dev/null
+++ b/dotfiles/.config/nvim/lua/lazy_setup.lua
@@ -0,0 +1,32 @@
+require("lazy").setup({
+ {
+ "AstroNvim/AstroNvim",
+ version = "^6", -- Remove version tracking to elect for nightly AstroNvim
+ import = "astronvim.plugins",
+ opts = { -- AstroNvim options must be set here with the `import` key
+ mapleader = " ", -- This ensures the leader key must be configured before Lazy is set up
+ maplocalleader = ",", -- This ensures the localleader key must be configured before Lazy is set up
+ icons_enabled = true, -- Set to false to disable icons (if no Nerd Font is available)
+ pin_plugins = nil, -- Default will pin plugins when tracking `version` of AstroNvim, set to true/false to override
+ update_notifications = true, -- Enable/disable notification about running `:Lazy update` twice to update pinned plugins
+ },
+ },
+ { import = "community" },
+ { import = "plugins" },
+} --[[@as LazySpec]], {
+ -- Configure any other `lazy.nvim` configuration options here
+ install = { colorscheme = { "astrotheme", "habamax" } },
+ ui = { backdrop = 100 },
+ performance = {
+ rtp = {
+ -- disable some rtp plugins, add more to your liking
+ disabled_plugins = {
+ "gzip",
+ "netrwPlugin",
+ "tarPlugin",
+ "tohtml",
+ "zipPlugin",
+ },
+ },
+ },
+} --[[@as LazyConfig]])