mason.nvim
mason.nvim copied to clipboard
[New package]: gleam lsp 💫
I've searched open & closed issues for similar requests
Yes
Package name
gleam
Package homepage
https://github.com/gleam-lang/gleam
Languages
gleam
How is this package distributed?
https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#gleam
Hello! Pull requests are always very welcomed to add new packages. If the distribution of the package is simple, the installation will most likely be so as well. See CONTRIBUTING.md and the API reference for more details! You may also use existing packages as reference.
🤖 This is an automated comment.
📖 Source code
gleam lsp is integrated within the main cli, starting with 'gleam lsp'
I am trying to find out where in mason, or nvim-lspconfig lsp client is starting based on filetype. someone have any ideas or documentation about it ?
I am trying to find out where in mason, or nvim-lspconfig lsp client is starting based on filetype. someone have any ideas or documentation about it ?
Mason is not involved in starting LSP servers or really integrating any external tooling into Neovim at all (other than making these available in PATH
etc.). This is done entirely in nvim-lspconfig
.
Thanks for the answer
Yes, with your insight, I've finally a better view of what is happening. More than that, nvim-lspconfig support gleam since december.
Imo this ticket can be closed as the initial intent is out of scope
Thanks guys 👍 Apologies, I assumed something was needed here. Will close.
@cobbinma , I was able to get it worked with https://github.com/neovim/nvim-lspconfig. and syntax highlight with :TSInstall gleam
from tree sitter
No work was needed as gleam is already confgured here https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/server_configurations/gleam.lua