refactor: LazyVim.config

This commit is contained in:
Folke Lemaitre 2024-06-16 15:35:38 +02:00
parent 57ef349910
commit 05e45e0d35
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
15 changed files with 32 additions and 42 deletions

View file

@ -1,5 +1,3 @@
local Config = require("lazyvim.config")
-- Some extras need to be loaded before others
local prios = {
["lazyvim.plugins.extras.test.core"] = 1,
@ -13,7 +11,7 @@ local prios = {
}
---@type string[]
local extras = LazyVim.dedup(Config.json.data.extras)
local extras = LazyVim.dedup(LazyVim.config.json.data.extras)
local version = vim.version()
local v = version.major .. "_" .. version.minor