From c3cbab752d4983d85210556663ca1e784693c19f Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Mon, 19 Sep 2022 11:56:07 -0700 Subject: [PATCH] add isort plugin --- lua/configs/null-ls.lua | 2 +- lua/plugins.lua | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/configs/null-ls.lua b/lua/configs/null-ls.lua index 694a21f..4df6010 100644 --- a/lua/configs/null-ls.lua +++ b/lua/configs/null-ls.lua @@ -19,7 +19,7 @@ function M.config() sources = { -- Set a formatter formatting.prettierd, - formatting.black, + --formatting.black, -- Set a linter diagnostics.eslint_d, diff --git a/lua/plugins.lua b/lua/plugins.lua index 0b0c27b..3d2e770 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -162,6 +162,9 @@ packer.startup { -- Remember your last place when opening a file use { 'farmergreg/vim-lastplace' } + + -- Import sorting for python (:Isort) + use { 'stsewd/isort.nvim', run = ':UpdateRemotePlugins' } end, config = { display = {