diff options
| author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-10-05 08:46:35 +0200 |
|---|---|---|
| committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-10-05 08:46:35 +0200 |
| commit | 77cdf208765ad351e48724ed5ad57e55703eca61 (patch) | |
| tree | 7f19757b255ab66895d9240a5aca77a35cef8aac /.config/nvim/ftplugin/python.lua | |
| parent | 4fd170aa9d55b7bcd1f0a9445c9e136b560e3220 (diff) | |
Add major update to LSP from lunarvim
Diffstat (limited to '.config/nvim/ftplugin/python.lua')
| -rw-r--r-- | .config/nvim/ftplugin/python.lua | 14 |
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 = {}, + }, +} |