mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
fix: highlights
This commit is contained in:
parent
57d024ef19
commit
35b1f98ac7
4 changed files with 10 additions and 17 deletions
|
@ -15,21 +15,15 @@ M.colors = {
|
|||
Special = "@punctuation.special",
|
||||
}
|
||||
|
||||
M.did_setup = true
|
||||
M.did_setup = false
|
||||
|
||||
function M.set_hl()
|
||||
for hl_group, opts in pairs(M.colors) do
|
||||
hl_group = "Lazy" .. hl_group
|
||||
|
||||
if type(opts) == "string" then
|
||||
opts = {
|
||||
link = opts,
|
||||
}
|
||||
opts = { link = opts }
|
||||
end
|
||||
|
||||
opts.default = true
|
||||
|
||||
vim.api.nvim_set_hl(0, hl_group, opts)
|
||||
vim.api.nvim_set_hl(0, "Lazy" .. hl_group, opts)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue