From: martin f. krafft Date: Wed, 7 May 2025 08:24:59 +0000 (+0200) Subject: fix manipulating formatoptions for python X-Git-Url: https://git.madduck.net/etc/lazyvim.git/commitdiff_plain/b592831721387a43259e3f05fcdaea43de3b73b3?ds=inline fix manipulating formatoptions for python --- 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 = {