diff options
author | tdro <tdro@users.noreply.github.com> | 2022-11-11 07:07:22 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2022-11-11 07:07:22 -0500 |
commit | 9c3aa9d5d92b3dcaf754ec0c1d60cdb4554288e1 (patch) | |
tree | f279e90afe6c73a9891a657bb43b1f45f7f85627 /.vim | |
parent | b8bb8768c9d9d33ca4e846d4339c22cdf51677a2 (diff) | |
download | dotfiles-9c3aa9d5d92b3dcaf754ec0c1d60cdb4554288e1.tar.gz dotfiles-9c3aa9d5d92b3dcaf754ec0c1d60cdb4554288e1.tar.bz2 dotfiles-9c3aa9d5d92b3dcaf754ec0c1d60cdb4554288e1.zip |
.vim/vimrc: pg_format uppercase types
Diffstat (limited to '.vim')
-rw-r--r-- | .vim/vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -308,7 +308,7 @@ augroup AutoCommands autocmd FileType bindzone autocmd! BufWritePost <buffer> exe 'Notify(''file="' . expand('%') . '" && named-checkzone "$(head --lines=1 "$file" | cut --delimiter=" " --fields=2 | perl -ple "chop")" $file'')' | :e autocmd FileType yaml autocmd! BufWritePost <buffer> exe 'Notify(''yaml round-trip --indent 2 --save ' . expand('%') . ' 2>&1 && yamllint -s ' . expand('%') . ' 2>&1 && printf "YAML OK: ' . expand('%') . '"'')' | :e autocmd FileType typescript autocmd! BufWritePost <buffer> exe 'Notify(''deno fmt ' . expand('%') . ' 2>&1 && NO_COLOR=true deno lint ' . expand('%') . ' 2>&1'')' | :e | :only | :term ++rows=10 deno run --config tsconfig.json --allow-all --location https://example.com/ % - autocmd FileType sql autocmd! BufWritePost <buffer> exe 'Notify(''sqlint ' . expand('%') . ' 2>&1 && pg_format -i ' . expand('%') . ' 2>&1 && sqlfluff lint --exclude-rules L003,L016 --dialect postgres ' . expand('%') . ' 2>&1 && printf "SQL OK: ' . expand('%') . '"'')' | :e + autocmd FileType sql autocmd! BufWritePost <buffer> exe 'Notify(''sqlint ' . expand('%') . ' 2>&1 && pg_format --type-case 2 --inplace ' . expand('%') . ' 2>&1 && sqlfluff lint --exclude-rules L003,L016 --dialect postgres ' . expand('%') . ' 2>&1 && printf "SQL OK: ' . expand('%') . '"'')' | :e " Linting extension post write commands. autocmd BufWritePost *.txt,*.md :only | :term ++rows=10 vale % |