tb-dotfiles/chezmoi/private_dot_config/nvim/lua/autocmd.lua
2022-04-22 10:06:53 -04:00

7 lines
246 B
Lua

local api = vim.api
-- set the theme to gruvbox
api.nvim_command("autocmd vimenter * ++nested colorscheme gruvbox")
-- run nvim-lightbulb for all files
vim.cmd [[autocmd CursorHold,CursorHoldI * lua require'nvim-lightbulb'.update_lightbulb()]]