summaryrefslogtreecommitdiff
path: root/ftplugin/python.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/python.lua')
-rw-r--r--ftplugin/python.lua17
1 files changed, 0 insertions, 17 deletions
diff --git a/ftplugin/python.lua b/ftplugin/python.lua
index 62464397..a9b41648 100644
--- a/ftplugin/python.lua
+++ b/ftplugin/python.lua
@@ -20,12 +20,6 @@ if O.lang.python.isort then
table.insert(python_arguments, isort)
end
-if O.lang.python.formatter == "yapf" then
- table.insert(python_arguments, yapf)
-elseif O.lang.python.formatter == "black" then
- table.insert(python_arguments, black)
-end
-
require("lspconfig").efm.setup {
-- init_options = {initializationOptions},
cmd = { DATA_PATH .. "/lspinstall/efm/efm-langserver" },
@@ -64,17 +58,6 @@ require("lspconfig").pyright.setup {
},
},
}
-if O.lang.python.autoformat then
- require("lv-utils").define_augroups {
- _python_autoformat = {
- {
- "BufWritePre",
- "*.py",
- "lua vim.lsp.buf.formatting_sync(nil, 1000)",
- },
- },
- }
-end
if O.plugin.debug.active and O.plugin.dap_install.active then
local dap_install = require("dap-install")