From b592831721387a43259e3f05fcdaea43de3b73b3 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 7 May 2025 10:24:59 +0200 Subject: [PATCH] fix manipulating formatoptions for python --- .config/lazyvim/after/ftplugin/python.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/lazyvim/after/ftplugin/python.lua b/.config/lazyvim/after/ftplugin/python.lua index 219b25f..b430f28 100644 --- a/.config/lazyvim/after/ftplugin/python.lua +++ b/.config/lazyvim/after/ftplugin/python.lua @@ -7,7 +7,8 @@ vim.opt_local.sw = 4 vim.opt_local.sts = 4 vim.opt_local.autoindent = true -vim.opt_local.formatoptions = vim.opt.formatoptions + "bl" +vim.opt_local.formatoptions:append("b") +vim.opt_local.formatoptions:append("l") vim.b.ale_linters = { "mypy", "ruff" } vim.b.ale_fixers = { -- 2.39.5