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:
24
lua/lazyvim/plugins/extras/lang/gleam.lua
Normal file
24
lua/lazyvim/plugins/extras/lang/gleam.lua
Normal 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 = {},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user