Skip to content

Commit d484353

Browse files
author
Jonas Hagberg
committed
Don't reformat golang tags, set flake8 max line length
1 parent f5c9633 commit d484353

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

init.lua

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,20 @@ require('lazy').setup({
888888
})
889889

890890
require('conform').formatters.golines = {
891-
prepend_args = { '--max-len=128' },
891+
prepend_args = { '--max-len=128 --no-reformat-tags' },
892892
}
893+
894+
require('lspconfig').pylsp.setup {
895+
settings = {
896+
pylsp = {
897+
plugins = {
898+
pycodestyle = {
899+
maxLineLength = 100,
900+
},
901+
},
902+
},
903+
},
904+
}
905+
893906
-- The line beneath this is called `modeline`. See `:help modeline`
894907
-- vim: ts=2 sts=2 sw=2 et

0 commit comments

Comments
 (0)