formatting: set up null-ls and mason-null-ls

This commit is contained in:
kalmenn 2024-01-07 18:13:27 +01:00
parent 30542b0ab3
commit 01c084a5a3
Signed by: kalmenn
GPG key ID: F500055C44BC3834
2 changed files with 29 additions and 0 deletions

View file

@ -11,8 +11,10 @@
"gitsigns.nvim": { "branch": "main", "commit": "d195f0c35ced5174d3ecce1c4c8ebb3b5bc23fa9" },
"lazy.nvim": { "branch": "main", "commit": "96584866b9c5e998cbae300594d0ccfd0c464627" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "0989bdf4fdf7b5aa4c74131d7ffccc3f399ac788" },
"mason-null-ls.nvim": { "branch": "main", "commit": "4ca4c9cbf86f1153e80160e2618400776030d944" },
"mason.nvim": { "branch": "main", "commit": "a09da6ac634926a299dd439da08bdb547a8ca011" },
"neo-tree.nvim": { "branch": "v3.x", "commit": "77d9f484b88fd380386b46ed9206e5374d69d9d8" },
"none-ls.nvim": { "branch": "main", "commit": "fbdcbf8e152529af846b3a333f039751829b84c2" },
"nui.nvim": { "branch": "main", "commit": "80445d015d2b5f9af0d9e8bce63d303bc86eda8a" },
"nvim": { "branch": "main", "commit": "b901cf144573b293b6cefeb1ac8c97d5d239ee7a" },
"nvim-cmp": { "branch": "main", "commit": "538e37ba87284942c1d76ed38dd497e54e65b891" },

View file

@ -0,0 +1,27 @@
return {
{
"nvimtools/none-ls.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
},
config = function()
local null_ls = require("null-ls")
null_ls.setup({
sources = {
},
})
end,
},
{
"jay-babu/mason-null-ls.nvim",
dependencies = {
"williamboman/mason.nvim",
"nvimtools/none-ls.nvim",
},
opts = {
ensure_installed = { "stylua" },
handlers = {},
},
},
}