none-ls decided they no better than the community
This commit is contained in:
parent
93b2a0677d
commit
d4085c80c2
2 changed files with 16 additions and 16 deletions
|
@ -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",
|
||||
|
|
|
@ -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,
|
||||
-- },
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue