summaryrefslogtreecommitdiffstats
path: root/dot_config/nvim/lua/lazy_setup.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dot_config/nvim/lua/lazy_setup.lua32
1 files changed, 32 insertions, 0 deletions
diff --git a/dot_config/nvim/lua/lazy_setup.lua b/dot_config/nvim/lua/lazy_setup.lua
new file mode 100644
index 0000000..4d9552f
--- /dev/null
+++ b/dot_config/nvim/lua/lazy_setup.lua
@@ -0,0 +1,32 @@
+require("lazy").setup({
+ {
+ "AstroNvim/AstroNvim",
+ version = "^5", -- 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]])