dont format bib and json on save
This commit is contained in:
parent
33ea47112c
commit
5a238f4f80
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue