diff --git a/modules/terminal-life/nvim/plugins.vim b/modules/terminal-life/nvim/plugins.vim index 82ce381e..b789447e 100644 --- a/modules/terminal-life/nvim/plugins.vim +++ b/modules/terminal-life/nvim/plugins.vim @@ -2,6 +2,9 @@ au! BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab +au BufRead,BufNewFile *.age set filetype=age +autocmd FileType age setlocal noeol nofixeol + function AddTemplate(tmpl_file) exe "0read " . a:tmpl_file set nomodified