diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-11-08 23:13:05 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-11-08 23:13:05 +0100 |
commit | c9e2adbbc8fd7a5398c8c66d21f0e02dc7b60203 (patch) | |
tree | 274263ba15e0197180af8bb681e22c4780d5de05 /.config/nvim/ftplugin/python.lua | |
parent | e4ea22e223bbd6b4091610c6fa093862cbd32f75 (diff) |
Add new lunarvin updates
Diffstat (limited to '.config/nvim/ftplugin/python.lua')
-rw-r--r-- | .config/nvim/ftplugin/python.lua | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/.config/nvim/ftplugin/python.lua b/.config/nvim/ftplugin/python.lua index 2ec643d..f1e9a50 100644 --- a/.config/nvim/ftplugin/python.lua +++ b/.config/nvim/ftplugin/python.lua @@ -1,11 +1,4 @@ -options.lang.python.formatters = { - { - exe = "black", - }, -} - -options.lang.python.linters = { - { - exe = "flake8", - }, -} +local formatters = require "lsp.null-ls.formatters" +local linters = require "lsp.null-ls.linters" +formatters.setup { { exe = "black", filetypes = { "python" } } } +formatters.setup { { exe = "flake8", filetypes = { "python" } } } |