modules/terminal-life: add nvim filetype handling for age secrets

This commit is contained in:
b12f 2024-08-23 19:00:12 +02:00
parent 483c486359
commit b02770adea
Signed by: b12f
GPG key ID: 729956E1124F8F26
2 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,10 @@
au BufRead,BufNewFile *.html.twig set filetype=html
au BufRead,BufNewFile *.vto set filetype=html
au BufRead,BufNewFile *.njk set filetype=html
au BufRead,BufNewFile *.age set filetype=age
autocmd FileType age setlocal noeol nofixeol
au! BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab

View file

@ -1,7 +1,3 @@
" Happy yaml configuration
au! BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
let g:gutentags_file_list_command = 'git ls-files'
" https://github.com/unblevable/quick-scope