summaryrefslogtreecommitdiff
path: root/.config/nvim/ftplugin/python.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/ftplugin/python.lua')
-rw-r--r--.config/nvim/ftplugin/python.lua14
1 files changed, 13 insertions, 1 deletions
diff --git a/.config/nvim/ftplugin/python.lua b/.config/nvim/ftplugin/python.lua
index fbe1beb..81812fc 100644
--- a/.config/nvim/ftplugin/python.lua
+++ b/.config/nvim/ftplugin/python.lua
@@ -1 +1,13 @@
-require("lsp").setup "python"
+options.lang.python.formatters = {
+ {
+ exe = "black",
+ args = {},
+ },
+}
+
+options.lang.python.linters = {
+ {
+ exe = "flake8",
+ args = {},
+ },
+}