From 96e9259595208049a0cae7ba76d1fd19ff381d30 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Tue, 27 Aug 2024 10:39:27 +0200 Subject: [PATCH] neovim: avoid adding newlines to secrets --- modules/terminal-life/nvim/plugins.vim | 3 +++ 1 file changed, 3 insertions(+) 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