development/templates/nvim/lua/auto-commands.lua.j2
2023-08-19 14:10:58 +02:00

17 lines
444 B
Django/Jinja

-- {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
--colorscheme
vim.cmd('colorscheme edge')
--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]],
})