From 13dc043327c1a5cea8d532e9a3255685844989ea Mon Sep 17 00:00:00 2001 From: Kevin Knosala Date: Fri, 12 Apr 2024 12:02:56 +0200 Subject: [PATCH] Turn off autoformat for Python --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index b93ab38d..4d563cd6 100644 --- a/init.lua +++ b/init.lua @@ -628,7 +628,7 @@ require('lazy').setup({ -- 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 = true, cpp = true, python = true } return { timeout_ms = 500, lsp_fallback = not disable_filetypes[vim.bo[bufnr].filetype],