Skip to content

Commit

Permalink
feat(format): Replace null-ls with none-ls
Browse files Browse the repository at this point in the history
  • Loading branch information
UnikMask committed Jan 19, 2024
1 parent 159a75d commit c591437
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lua/plugins/format.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,22 @@ return {
end,
},
{
"jose-elias-alvarez/null-ls.nvim",
"nvimtools/none-ls.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"j-hui/fidget.nvim",
},
ft = { "lua" },
event = "VeryLazy",
config = function()
local null_ls = require("null-ls")
null_ls.setup({
sources = {
null_ls.builtins.formatting.stylua,
null_ls.builtins.formatting.black,
null_ls.builtins.formatting.isort,
null_ls.builtins.code_actions.gitsigns,
null_ls.builtins.completion.luasnip,
null_ls.builtins.completion.spell,
},
})
end,
Expand Down

0 comments on commit c591437

Please sign in to comment.