Skip to content

Commit 532b496

Browse files
committed
Disable autoformat with python
1 parent af6a42f commit 532b496

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
@@ -767,7 +767,7 @@ require('lazy').setup({
767767
-- Disable "format_on_save lsp_fallback" for languages that don't
768768
-- have a well standardized coding style. You can add additional
769769
-- languages here or re-enable it for the disabled ones.
770-
local disable_filetypes = { c = true, cpp = true }
770+
local disable_filetypes = { c = true, cpp = true, python = true }
771771
if disable_filetypes[vim.bo[bufnr].filetype] then
772772
return nil
773773
else

0 commit comments

Comments
 (0)