mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 08:07:36 +00:00
Add isort and make note about null-ls
This commit is contained in:
parent
4ff38af295
commit
974ad2e128
@ -325,8 +325,10 @@ return {
|
||||
|
||||
-- Generic linter/formatters in diagnostics API
|
||||
{
|
||||
-- TODO: null-ls is archived and no longer maintained. It is replaced by none-ls
|
||||
-- Replace with https://github.com/nvimtools/none-ls.nvim
|
||||
"https://github.com/jose-elias-alvarez/null-ls.nvim",
|
||||
-- This is lazy and configured after lspis loaded in plugins/lsp.lua
|
||||
-- This is lazy and configured after lsps loaded in plugins/lsp.lua
|
||||
lazy = true,
|
||||
branch = utils.map_version_rule({
|
||||
[">=0.8.0"] = utils.nil_val,
|
||||
|
@ -49,6 +49,7 @@ function M.configure(options)
|
||||
null_ls.builtins.formatting.fish_indent,
|
||||
-- Python
|
||||
null_ls.builtins.formatting.reorder_python_imports,
|
||||
null_ls.builtins.formatting.isort,
|
||||
null_ls.builtins.formatting.black,
|
||||
null_ls.builtins.diagnostics.mypy,
|
||||
-- Go
|
||||
|
Loading…
Reference in New Issue
Block a user