Don't reformat golang tags, set flake8 max line length
This commit is contained in:
parent
f5c963316d
commit
d48435309a
15
init.lua
15
init.lua
|
@ -888,7 +888,20 @@ require('lazy').setup({
|
||||||
})
|
})
|
||||||
|
|
||||||
require('conform').formatters.golines = {
|
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`
|
-- The line beneath this is called `modeline`. See `:help modeline`
|
||||||
-- vim: ts=2 sts=2 sw=2 et
|
-- vim: ts=2 sts=2 sw=2 et
|
||||||
|
|
Loading…
Reference in New Issue