no format md on save

This commit is contained in:
Christoph J. Scherr 2025-01-13 15:30:05 +01:00
parent cf62230db0
commit c1dc37a590
1 changed files with 1 additions and 1 deletions

View File

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