nvim-config/lua/plugins/none-ls.lua
2024-04-30 11:24:23 +01:00

16 lines
428 B
Lua

return {
"nvimtools/none-ls.nvim",
config=function()
local null_ls = require("null-ls")
null_ls.setup({
sources = {
-- null_ls.builtins.formatting.stylua, -- THIS SUCKS ASS
null_ls.builtins.formatting.isort,
null_ls.builtins.formatting.black,
}
})
vim.keymap.set("n", "<leader>f", vim.lsp.buf.format, {})
end
}