refactor(none-ls): make all null-ls usages in extras optional

This commit is contained in:
Folke Lemaitre 2023-09-29 11:59:05 +02:00
parent 3c448a1be1
commit a7f68e5e37
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
7 changed files with 7 additions and 0 deletions

View file

@ -26,6 +26,7 @@ return {
},
{
"nvimtools/none-ls.nvim",
optional = true,
opts = function(_, opts)
if type(opts.sources) == "table" then
local null_ls = require("null-ls")