Addd Gleam lang support

This commit is contained in:
Jiri Luzny 2024-03-22 07:26:19 +01:00 committed by Folke Lemaitre
parent 6fd2c88024
commit 7fb31270e3

View file

@ -0,0 +1,26 @@
return {
{
"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",
init = function()
require("lspconfig").gleam.setup({})
end,
},
{
"JoosepAlviste/nvim-ts-context-commentstring",
opts = {
languages = {
gleam = "// %s",
},
},
},
}