FEATURE: use none-ls instead of null-ls

Fixes #1516
This commit is contained in:
OneOfOne 2023-09-28 12:46:19 -05:00
parent 274649e923
commit e7f925ff04
No known key found for this signature in database
GPG key ID: F3A4E8B6760B7805
8 changed files with 8 additions and 8 deletions

View file

@ -6,7 +6,7 @@ return {
end,
},
{
"jose-elias-alvarez/null-ls.nvim",
"nvimtools/none-ls.nvim",
opts = function(_, opts)
local nls = require("null-ls")
table.insert(opts.sources, nls.builtins.formatting.prettierd)

View file

@ -8,7 +8,7 @@ return {
end,
},
{
"jose-elias-alvarez/null-ls.nvim",
"nvimtools/none-ls.nvim",
opts = function(_, opts)
local nls = require("null-ls")
opts.sources = opts.sources or {}

View file

@ -8,7 +8,7 @@ return {
end,
},
{
"jose-elias-alvarez/null-ls.nvim",
"nvimtools/none-ls.nvim",
opts = function(_, opts)
local nls = require("null-ls")
opts.sources = opts.sources or {}

View file

@ -83,7 +83,7 @@ return {
},
-- Ensure Go tools are installed
{
"jose-elias-alvarez/null-ls.nvim",
"nvimtools/none-ls.nvim",
opts = function(_, opts)
if type(opts.sources) == "table" then
local nls = require("null-ls")

View file

@ -9,7 +9,7 @@ return {
end,
},
{
"jose-elias-alvarez/null-ls.nvim",
"nvimtools/none-ls.nvim",
opts = function(_, opts)
local nls = require("null-ls")
table.insert(opts.sources, nls.builtins.formatting.csharpier)

View file

@ -25,7 +25,7 @@ return {
},
},
{
"jose-elias-alvarez/null-ls.nvim",
"nvimtools/none-ls.nvim",
opts = function(_, opts)
if type(opts.sources) == "table" then
local null_ls = require("null-ls")

View file

@ -53,7 +53,7 @@ return {
},
},
{
"jose-elias-alvarez/null-ls.nvim",
"nvimtools/none-ls.nvim",
opts = function(_, opts)
table.insert(opts.sources, require("typescript.extensions.null-ls.code-actions"))
end,

View file

@ -205,7 +205,7 @@ return {
-- formatters
{
"jose-elias-alvarez/null-ls.nvim",
"nvimtools/none-ls.nvim",
event = { "BufReadPre", "BufNewFile" },
dependencies = { "mason.nvim" },
opts = function()