neovim: avoid adding newlines to secrets

This commit is contained in:
teutat3s 2024-08-27 10:39:27 +02:00
parent 5fd5bae727
commit 96e9259595
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -2,6 +2,9 @@
au! BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml au! BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab 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) function AddTemplate(tmpl_file)
exe "0read " . a:tmpl_file exe "0read " . a:tmpl_file
set nomodified set nomodified