Add option to use taplo for formatting TOML

This commit is contained in:
Eric Torres 2024-05-31 11:05:21 -07:00
parent 4a211773d8
commit 870221786f

View File

@ -125,8 +125,9 @@ autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists('s:std_in') | NERDTree | endif
" ---------- Neoformat ----------
" Override python formatter
" Override formatters
let g:neoformat_enabled_python=['ruff']
let g:neoformat_enabled_toml=['taplo']
" Enable alignment
let g:neoformat_basic_format_align = 1