nvim-config/lua/autocommands.lua
2022-02-28 18:24:14 -06:00

19 lines
468 B
Lua

-- For some reason, setting the color scheme has to be in an autocommand
vim.cmd([[
augroup MichaelColorScheme
autocmd!
autocmd VimEnter * colorscheme darkplus
augroup end
]])
-- For some reason, the setup function isn't calling this... It might be because we are setting the color
-- scheme through an autocommand too
vim.cmd([[
augroup NvimWebDeviconsColorFix
autocmd!
autocmd VimEnter * lua require'nvim-web-devicons'.set_up_highlights()
augroup end
]])