From 77cdf208765ad351e48724ed5ad57e55703eca61 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 5 Oct 2021 08:46:35 +0200 Subject: Add major update to LSP from lunarvim --- .config/nvim/ftplugin/python.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to '.config/nvim/ftplugin/python.lua') 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 = {}, + }, +} -- cgit v1.2.3-70-g09d2