From cc4b2535b23ab0d6896da3f473998fc79b8fb895 Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Sat, 25 Feb 2023 22:57:55 +0200 Subject: [PATCH] Sort --- lua/user/mason/null-ls.lua | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/lua/user/mason/null-ls.lua b/lua/user/mason/null-ls.lua index 02edecc..17d8819 100644 --- a/lua/user/mason/null-ls.lua +++ b/lua/user/mason/null-ls.lua @@ -17,9 +17,18 @@ local diagnostics = null_ls.builtins.diagnostics null_ls.setup({ debug = false, sources = { + diagnostics.codespell, + diagnostics.cpplint, + diagnostics.flake8, + diagnostics.luacheck, + diagnostics.misspell, + diagnostics.mypy, + diagnostics.zsh, formatting.autopep8, formatting.beautysh, formatting.djlint, + formatting.google_java_format, + formatting.isort, formatting.prettier.with({ extra_filetypes = { "toml" }, extra_args = { @@ -35,15 +44,7 @@ null_ls.setup({ }), formatting.shfmt, formatting.stylua, - formatting.isort, formatting.yamlfmt, - diagnostics.cpplint, - diagnostics.luacheck, - diagnostics.flake8, - diagnostics.mypy, - diagnostics.zsh, - diagnostics.misspell, - diagnostics.codespell, }, }) @@ -57,9 +58,11 @@ mason_null_ls.setup({ "flake8", "gitlint", "html_lint", + "isort", "luacheck", "misspell", "mypy", + "prettier", "shfmt", "yamlfmt", },