gruber-darker.nvim/lua/gruber-darker/highlights/init.lua

25 lines
597 B
Lua
Raw Normal View History

2023-03-26 01:10:26 +01:00
local M = {}
2023-03-30 03:50:44 +02:00
---@class HighlightsProvider
---@field highlights table<string, Highlight>
---@field setup fun() Set highlights
2023-03-30 03:50:44 +02:00
---@type HighlightsProvider[]
local providers = {
require("gruber-darker.highlights.colorscheme"),
2023-03-30 06:13:32 +02:00
require("gruber-darker.highlights.lsp"),
2023-03-26 16:04:41 +02:00
require("gruber-darker.highlights.vim"),
require("gruber-darker.highlights.terminal"),
require("gruber-darker.highlights.treesitter"),
}
---Set highlights for configured providers
2023-03-26 01:10:26 +01:00
function M.setup()
2023-03-30 03:50:44 +02:00
for _, provider in ipairs(providers) do
provider:setup()
end
2023-04-10 19:22:47 +02:00
vim.opt.guicursor:append("a:Cursor/lCursor")
2023-03-26 01:10:26 +01:00
end
return M