mirror of
https://github.com/gabehf/base46.git
synced 2026-03-09 07:28:50 -07:00
misc
This commit is contained in:
parent
d534b3492e
commit
ffa56f0766
2 changed files with 5 additions and 7 deletions
|
|
@ -32,12 +32,7 @@ end
|
|||
|
||||
M.load_theme = function()
|
||||
package.loaded["chadlights" or false] = nil
|
||||
local highlights = require "chadlights"
|
||||
|
||||
-- finally set all highlights :D
|
||||
for hl, col in pairs(highlights) do
|
||||
vim.api.nvim_set_hl(0, hl, col)
|
||||
end
|
||||
require "chadlights"
|
||||
end
|
||||
|
||||
M.override_theme = function(default_theme, theme_name)
|
||||
|
|
|
|||
|
|
@ -20,4 +20,7 @@ end
|
|||
local user_highlights = require("core.utils").load_config().ui.hl_override
|
||||
highlights = merge_tb(highlights, user_highlights)
|
||||
|
||||
return highlights
|
||||
-- finally set all highlights :D
|
||||
for hl, col in pairs(highlights) do
|
||||
vim.api.nvim_set_hl(0, hl, col)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue