dotfiles/home/private_dot_config/nvim/lua/plugins/language/lua.lua

13 lines
339 B
Lua
Raw Normal View History

2023-11-30 14:25:23 -06:00
return {
2023-12-17 23:26:30 -06:00
require("util").setup_lang({ treesitter = { "lua" }, mason = { "stylua", "lua-language-server" } }),
2023-11-30 14:25:23 -06:00
{
"nvimtools/none-ls.nvim",
opts = function(_, opts)
local nls = require("null-ls")
opts.sources = vim.list_extend(opts.sources or {}, {
2023-12-17 23:26:30 -06:00
nls.builtins.formatting["stylua"],
2023-11-30 14:25:23 -06:00
})
end,
},
}