Neovim’s nvim-lspconfig includes
configuration for Gleam. Install nvim-lspconfig with your preferred plugin
manager and then add the language server to your init.lua.
On Nvim 0.11+ and nvim-lspconfig 2.1+:
vim.lsp.enable('gleam')
On Nvim <= 0.10:
require('lspconfig').gleam.setup({})
The language server will then be automatically started when you open a Gleam file.
If you are using nvim-treesitter
you can run :TSInstall gleam to get syntax highlighting and other tree-sitter
features.