change python formatter to black
This commit is contained in:
parent
a883718e97
commit
f3a51a73bd
1 changed files with 19 additions and 16 deletions
|
@ -61,6 +61,9 @@ return {
|
||||||
eager = true,
|
eager = true,
|
||||||
|
|
||||||
},
|
},
|
||||||
|
black = {
|
||||||
|
enabled = true
|
||||||
|
},
|
||||||
jedi_hover = { enabled = true },
|
jedi_hover = { enabled = true },
|
||||||
jedi_references = { enabled = true },
|
jedi_references = { enabled = true },
|
||||||
jedi_signature_help = { enabled = true },
|
jedi_signature_help = { enabled = true },
|
||||||
|
@ -80,12 +83,12 @@ return {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
yapf = {
|
yapf = {
|
||||||
enabled = true
|
enabled = false
|
||||||
},
|
},
|
||||||
autopep8 = {
|
autopep8 = {
|
||||||
enabled = false
|
enabled = false
|
||||||
},
|
},
|
||||||
pyflakes = { enabled = true }, -- ruff_lsp
|
pyflakes = { enabled = true }, -- ruff_lsp
|
||||||
pycodestyle = { enabled = false }, -- ruff_lsp
|
pycodestyle = { enabled = false }, -- ruff_lsp
|
||||||
pydocstyle = {
|
pydocstyle = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
|
@ -104,8 +107,8 @@ return {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
--require 'lspconfig'.ruff_lsp.setup {
|
--require 'lspconfig'.ruff_lsp.setup {
|
||||||
--on_attach = on_attach,
|
--on_attach = on_attach,
|
||||||
--capabilities = capabilities,
|
--capabilities = capabilities,
|
||||||
--}
|
--}
|
||||||
require 'lspconfig'.pyright.setup {
|
require 'lspconfig'.pyright.setup {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
|
@ -135,22 +138,22 @@ return {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
}
|
}
|
||||||
require'lspconfig'.perlpls.setup{
|
require 'lspconfig'.perlpls.setup {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
}
|
}
|
||||||
--require 'lspconfig'.perlnavigator.setup {
|
--require 'lspconfig'.perlnavigator.setup {
|
||||||
--settings = {
|
--settings = {
|
||||||
--perlnavigator = {
|
--perlnavigator = {
|
||||||
--perlPath = 'perl',
|
--perlPath = 'perl',
|
||||||
--enableWarnings = true,
|
--enableWarnings = true,
|
||||||
--perltidyProfile = '',
|
--perltidyProfile = '',
|
||||||
--perlcriticProfile = '',
|
--perlcriticProfile = '',
|
||||||
--perlcriticEnabled = true,
|
--perlcriticEnabled = true,
|
||||||
--}
|
--}
|
||||||
--},
|
--},
|
||||||
--on_attach = on_attach,
|
--on_attach = on_attach,
|
||||||
--capabilities = capabilities,
|
--capabilities = capabilities,
|
||||||
--}
|
--}
|
||||||
|
|
||||||
require 'lspconfig'.cssls.setup {
|
require 'lspconfig'.cssls.setup {
|
||||||
|
|
Loading…
Reference in a new issue