mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-24 05:21:07 +00:00
chore: improve variable name
This commit is contained in:
parent
abfc2658a5
commit
adc4ebe251
1 changed files with 3 additions and 3 deletions
|
|
@ -59,9 +59,9 @@ for name, extra in pairs(defaults) do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Add user defined extras via `vim.g.lazyvim_user_extras`
|
-- Add user enabled extras via `vim.g.lazyvim_user_extras`
|
||||||
local user_defined_extras = vim.g.lazyvim_user_extras or {}
|
local user_enabled_extras = vim.g.lazyvim_user_extras or {}
|
||||||
for k, v in pairs(user_defined_extras) do
|
for k, v in pairs(user_enabled_extras) do
|
||||||
local is_atomic_value = type(k) == "number"
|
local is_atomic_value = type(k) == "number"
|
||||||
local name = is_atomic_value and v or k
|
local name = is_atomic_value and v or k
|
||||||
local priority = is_atomic_value and default_prio or v
|
local priority = is_atomic_value and default_prio or v
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue