From d48435309ac5b06f4f7e158641d796c7126ecc2c Mon Sep 17 00:00:00 2001 From: Jonas Hagberg Date: Mon, 15 Jul 2024 07:39:35 +0200 Subject: [PATCH] Don't reformat golang tags, set flake8 max line length --- init.lua | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 2339e415..91a065f3 100644 --- a/init.lua +++ b/init.lua @@ -888,7 +888,20 @@ require('lazy').setup({ }) require('conform').formatters.golines = { - prepend_args = { '--max-len=128' }, + prepend_args = { '--max-len=128 --no-reformat-tags' }, } + +require('lspconfig').pylsp.setup { + settings = { + pylsp = { + plugins = { + pycodestyle = { + maxLineLength = 100, + }, + }, + }, + }, +} + -- The line beneath this is called `modeline`. See `:help modeline` -- vim: ts=2 sts=2 sw=2 et