added cpp

This commit is contained in:
2025-12-29 15:07:57 +01:00
parent 43cc16d73a
commit 87cdec67a4

View File

@@ -19,7 +19,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 = true } local disable_filetypes = { c = false, cpp = false }
if disable_filetypes[vim.bo[bufnr].filetype] then if disable_filetypes[vim.bo[bufnr].filetype] then
return nil return nil
else else