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