development/templates/nvim/lua/auto-commands.lua.j2

15 lines
372 B
Django/Jinja

--colorscheme
vim.cmd('colorscheme catppuccin-latte')
--enable this option here as the events are used in this buffer
vim.cmd('syntax on')
vim.api.nvim_create_autocmd('Syntax', {
command = [[:normal zR]],
desc = 'Open folds by default',
})
vim.api.nvim_create_autocmd('Filetype', {
pattern = 'TelescopeResults',
command = [[:setlocal nofoldenable]],
})