tb-dotfiles/home/.config/nvim/lua/autocmd.lua

8 lines
246 B
Lua
Raw Normal View History

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()]]