mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
feat(extras): expose prios
to users for customization (#4587)
## Description Offer to users capability to customize priorities of the Extras. <!-- Describe the big picture of your changes to communicate to the maintainers why we should accept this pull request. --> ## Related Issue(s) Closes #4584 <!-- If this PR fixes any issues, please link to the issue here. - Fixes #<issue_number> --> ## Screenshots <!-- Add screenshots of the changes if applicable. --> ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines.
This commit is contained in:
parent
27f53eaa1e
commit
e46cb62a17
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@ local prios = {
|
||||||
["lazyvim.plugins.extras.editor.outline"] = 100,
|
["lazyvim.plugins.extras.editor.outline"] = 100,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if vim.g.xtras_prios then
|
||||||
|
prios = vim.tbl_deep_extend("force", prios, vim.g.xtras_prios or {})
|
||||||
|
end
|
||||||
|
|
||||||
---@type string[]
|
---@type string[]
|
||||||
local extras = LazyVim.dedup(LazyVim.config.json.data.extras)
|
local extras = LazyVim.dedup(LazyVim.config.json.data.extras)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue