mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 09:18:51 +02:00
refactor(config): moved loading of options, keymaps and autocmds to lazyvim.config
This commit is contained in:
parent
7b943822db
commit
dcf520f3a7
4 changed files with 38 additions and 34 deletions
|
@ -5,7 +5,9 @@ local specs = {
|
|||
|
||||
-- only add for >=9.0.1, since there's an endless loop in earlier versions
|
||||
if require("lazyvim.config").has(">=9.1.0") then
|
||||
specs[#specs + 1] = { "LazyVim/LazyVim", priority = 10000, lazy = true }
|
||||
specs[#specs + 1] = { "LazyVim/LazyVim", priority = 10000, lazy = false, config = true }
|
||||
else
|
||||
require("lazyvim.config").setup()
|
||||
end
|
||||
|
||||
return specs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue