Skip to content

Commit db8a24c

Browse files
committed
Disable python format on save
1 parent 52d976f commit db8a24c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ require('lazy').setup({
665665
-- Disable "format_on_save lsp_fallback" for languages that don't
666666
-- have a well standardized coding style. You can add additional
667667
-- languages here or re-enable it for the disabled ones.
668-
local disable_filetypes = { c = true, cpp = true }
668+
local disable_filetypes = { c = true, cpp = true, py = true, python = true }
669669
return {
670670
timeout_ms = 500,
671671
lsp_fallback = not disable_filetypes[vim.bo[bufnr].filetype],

0 commit comments

Comments
 (0)