feat(lang): add toml

This commit is contained in:
gacallea 2024-04-20 09:15:24 +02:00
parent bb36f71b77
commit c65fa4b83c

View file

@ -0,0 +1,30 @@
return {
recommended = function()
return LazyVim.extras.wants({
ft = "toml",
})
end,
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "toml" })
end
end,
},
{
"williamboman/mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "taplo" })
end,
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
taplo = {},
},
},
},
}