From d4085c80c268fa36f9bcd5ff98843b627eff6db1 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 27 Feb 2024 11:41:45 -0600 Subject: [PATCH] none-ls decided they no better than the community --- .../nvim/lua/plugins/language/python.lua | 14 +++++++------- .../nvim/lua/plugins/language/shell.lua | 18 +++++++++--------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/home/private_dot_config/nvim/lua/plugins/language/python.lua b/home/private_dot_config/nvim/lua/plugins/language/python.lua index c9e72e9..a673ed6 100644 --- a/home/private_dot_config/nvim/lua/plugins/language/python.lua +++ b/home/private_dot_config/nvim/lua/plugins/language/python.lua @@ -1,12 +1,12 @@ return { require("util").setup_lang({ treesitter = { "python", "toml" }, mason = { "ruff", "ruff-lsp" } }), - { - "nvimtools/none-ls.nvim", - opts = function(_, opts) - local nls = require("null-ls") - table.insert(opts.sources or {}, nls.builtins.formatting.ruff) - end, - }, + -- { + -- "nvimtools/none-ls.nvim", + -- opts = function(_, opts) + -- local nls = require("null-ls") + -- table.insert(opts.sources or {}, nls.builtins.formatting.ruff) + -- end, + -- }, -- modified from https://www.lazyvim.org/extras/lang/python#nvim-lspconfig { "neovim/nvim-lspconfig", diff --git a/home/private_dot_config/nvim/lua/plugins/language/shell.lua b/home/private_dot_config/nvim/lua/plugins/language/shell.lua index 48f47cf..818b143 100644 --- a/home/private_dot_config/nvim/lua/plugins/language/shell.lua +++ b/home/private_dot_config/nvim/lua/plugins/language/shell.lua @@ -1,12 +1,12 @@ return { require("util").setup_lang({ treesitter = { "bash" }, mason = { "shellcheck" } }), - { - "nvimtools/none-ls.nvim", - opts = function(_, opts) - local nls = require("null-ls") - opts.sources = vim.list_extend(opts.sources or {}, { - nls.builtins.diagnostics.shellcheck, - }) - end, - }, + -- { + -- "nvimtools/none-ls.nvim", + -- opts = function(_, opts) + -- local nls = require("null-ls") + -- opts.sources = vim.list_extend(opts.sources or {}, { + -- nls.builtins.diagnostics.shellcheck, + -- }) + -- end, + -- }, }