neovim: avoid adding newlines to secrets
This commit is contained in:
parent
5fd5bae727
commit
96e9259595
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue