feat(extras): added gleam lang support (#2802)

Added [Gleam lang](https://gleam.run/) support.

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
This commit is contained in:
Jiri Luzny
2024-06-06 13:23:29 +02:00
committed by GitHub
parent 6fd2c88024
commit 1891b02d9d

View File

@ -0,0 +1,24 @@
return {
recommended = {
ft = "gleam",
root = "gleam.toml",
},
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "gleam" })
end
end,
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
gleam = {},
},
},
},
}