mason.nvim icon indicating copy to clipboard operation
mason.nvim copied to clipboard

[New package]: gleam lsp 💫

Open cobbinma opened this issue 1 year ago • 1 comments

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

cobbinma avatar Jan 11 '23 09:01 cobbinma

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 

williambotman avatar Jan 11 '23 09:01 williambotman

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 ?

worming004 avatar Feb 21 '23 18:02 worming004

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.

williamboman avatar Feb 21 '23 19:02 williamboman

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

worming004 avatar Feb 21 '23 20:02 worming004

Thanks guys 👍 Apologies, I assumed something was needed here. Will close.

cobbinma avatar Feb 21 '23 20:02 cobbinma

@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

worming004 avatar Feb 22 '23 07:02 worming004