midnight.nvim/lua/midnight/init.lua
Barrett Ruth 270ba26bce refactor: remove unused setup function
Colorschemes load via :colorscheme command, making the setup() no-op redundant.
2026-02-03 20:12:17 -05:00

20 lines
313 B
Lua

local M = {}
---@return nil
function M.load()
if vim.g.colors_name then
vim.cmd('hi clear')
end
if vim.fn.exists('syntax_on') then
vim.cmd('syntax reset')
end
vim.o.termguicolors = true
vim.g.colors_name = 'midnight'
local theme = require('midnight.theme')
theme.apply()
end
return M