mirror of
https://github.com/maxmx03/dracula.nvim.git
synced 2026-09-10 07:26:19 -04:00
18 lines
297 B
Lua
18 lines
297 B
Lua
local M = {}
|
|
local theme = require('dracula.theme')
|
|
|
|
M.setup = function()
|
|
vim.cmd('hi clear')
|
|
|
|
vim.o.background = 'dark'
|
|
if vim.fn.exists('syntax_on') then
|
|
vim.cmd('syntax reset')
|
|
end
|
|
|
|
vim.o.termguicolors = true
|
|
vim.g.colors_name = 'dracula'
|
|
|
|
theme.set_highlights()
|
|
end
|
|
|
|
return M |