remove more none-ls

This commit is contained in:
Daylin Morgan 2024-02-28 09:58:41 -06:00
parent 1956f79f2f
commit aa66afe555
Signed by: daylin
GPG key ID: 3CD66E04B8072F3E
2 changed files with 10 additions and 10 deletions

View file

@ -15,7 +15,7 @@ require("lazy").setup({
{ import = "lazyvim.plugins.extras.lang.tex" },
{ import = "lazyvim.plugins.extras.lang.docker" },
-- { import = "lazyvim.plugins.extras.lang.markdown" },
{ import = "lazyvim.plugins.extras.lsp.none-ls" },
-- { import = "lazyvim.plugins.extras.lsp.none-ls" },
{ import = "plugins" },
{ import = "plugins.language" },
},

View file

@ -1,12 +1,12 @@
return {
require("util").setup_lang({ treesitter = { "lua" }, mason = { "stylua", "lua-language-server" } }),
{
"nvimtools/none-ls.nvim",
opts = function(_, opts)
local nls = require("null-ls")
opts.sources = vim.list_extend(opts.sources or {}, {
nls.builtins.formatting["stylua"],
})
end,
},
-- {
-- "nvimtools/none-ls.nvim",
-- opts = function(_, opts)
-- local nls = require("null-ls")
-- opts.sources = vim.list_extend(opts.sources or {}, {
-- nls.builtins.formatting["stylua"],
-- })
-- end,
-- },
}