dont format bib and json on save

This commit is contained in:
Christoph J. Scherr 2024-08-19 16:24:58 +02:00
parent 33ea47112c
commit 5a238f4f80
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ return {
-- Disable "format_on_save lsp_fallback" for languages that don't
-- have a well standardized coding style. You can add additional
-- languages here or re-enable it for the disabled ones.
local disable_filetypes = { c = true, cpp = true }
local disable_filetypes = { c = false, cpp = false, json = true, bib = true }
return {
timeout_ms = 500,
lsp_fallback = not disable_filetypes[vim.bo[bufnr].filetype],