mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
Addd Gleam lang support
This commit is contained in:
parent
6fd2c88024
commit
7fb31270e3
1 changed files with 26 additions and 0 deletions
26
lua/lazyvim/plugins/extras/lang/gleam.lua
Normal file
26
lua/lazyvim/plugins/extras/lang/gleam.lua
Normal 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",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue