From a8129e053a38dc4c69b2010e5202c1632e67a69d Mon Sep 17 00:00:00 2001 From: Ben Grande Date: Mon, 8 Jul 2024 20:10:15 +0200 Subject: [PATCH] feat: set json format for editorconfig-checker --- files/vim/.config/vim/vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/files/vim/.config/vim/vimrc b/files/vim/.config/vim/vimrc index 556f81e..fa46b08 100644 --- a/files/vim/.config/vim/vimrc +++ b/files/vim/.config/vim/vimrc @@ -510,6 +510,7 @@ autocmd FileType vim setlocal keywordprg=:help | \ if &foldmethod !=# 'diff' | setlocal foldmethod=expr foldlevel=1 | \ endif | setlocal foldexpr=getline(v:lnum)=~'^\"\ Section:'?'>1':'=' +autocmd BufRead,BufNewFile .ecrc setlocal filetype=json autocmd BufRead,BufNewFile .{yamllint,salt-lint} setlocal filetype=yaml autocmd BufRead,BufNewFile .qubesbuilder,/etc/qubes/backup/*.conf \ setlocal filetype=yaml