diff --git a/lua/lazyvim/plugins/extras/lang/gleam.lua b/lua/lazyvim/plugins/extras/lang/gleam.lua new file mode 100644 index 00000000..fe0172cd --- /dev/null +++ b/lua/lazyvim/plugins/extras/lang/gleam.lua @@ -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 = {}, + }, + }, + }, +}