From 5286a27c5f095c0caedd53b70efd6c80e4509ce2 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sat, 5 Apr 2025 23:32:04 +0200 Subject: [PATCH] etc/vim/source/vars.vim --- etc/vim/source/vars.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/vim/source/vars.vim b/etc/vim/source/vars.vim index 86661efd..9e36266d 100644 --- a/etc/vim/source/vars.vim +++ b/etc/vim/source/vars.vim @@ -16,10 +16,11 @@ let aliasFileType = { \ 'sh' : 'bash' \ ,'cpp' : 'c' \ ,'h' : 'c' + \ ,'arduino' : 'c' \} ">SHELL_REPLACE dbq db=nb t=meta action=table.rows rows.fields=key,val cat=file.check orderby=key format=vim_hash name=mimeCheck preff="$(printf "\t")" let mimeCheck = { - \ 'arduino': 'nico-arduino-cli -c' + \ 'arduino': 'nico-arduino-cli --check' \,'awk' : 'awk < /dev/null --lint=no-ext --file' \,'bash' : 'bash -c' \,'cf' : 'spamassassin --lint' @@ -38,6 +39,7 @@ let mimeCheck = { \,'yaml' : 'ruby -ryaml -e ''puts YAML.dump(YAML.load_file(ARGV[0]))''' \} "SHELL_REPLACE dbq db=nb t=meta action=table.rows rows.fields=key,val cat=mime.comment orderby=key format=vim_hash name=mimeComment preff="$(printf "\t")" let mimeComment = { -- 2.47.3